473,324 Members | 2,257 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

VB Script to create a folder with UNC path (HELP)

usafshah
104 100+
hi

I want a script which makes a folder (or u can say a shortcut) with UNC path like

\\192.0.0.6\ImportantData
Nov 14 '06 #1
4 7794
Killer42
8,435 Expert 8TB
hi
I want a script which makes a folder (or u can say a shortcut) with UNC path like
\\192.0.0.6\ImportantData
I'm pretty sure that's a URL, not a UNC. And it sounds as though what you want to create would be more correctly referred to, at least in Windows terms, as an Internet Shortcut.
You could try this: http://www.freevbcode.com/ShowCode.Asp?ID=456
This one looks as though it goes into more depth:http://www.windowsdevcenter.com/pub/...Shortcuts.html

Here's an interesting quote from DevX: Unlike regular LNK shortcut, which contain data in binary file, Internet shortcut files are just text files in this format.

And here's a link to the page there:Create an Internet shortcut
Nov 14 '06 #2
usafshah
104 100+
thanks alot killer for your reply but

i dont think its a url

\\192.68.0.13\foldername is UNC path (as for as i know)

but i want a vbscript which makes a folder that points to that UNC path or internet shorcut whatever you call.
Nov 15 '06 #3
albertw
267 100+
thanks alot killer for your reply but

i dont think its a url

\\192.68.0.13\foldername is UNC path (as for as i know)

but i want a vbscript which makes a folder that points to that UNC path or internet shorcut whatever you call.
hi maybe you'll get something out of this...

UNC folder
Nov 15 '06 #4
Killer42
8,435 Expert 8TB
hi maybe you'll get something out of this... UNC folder
Also, you could try simply opening a file called Whatever.URL and write this text into it...
[InternetShortcut]
URL=\\192.0.0.6\ImportantData

It may or may not work, but at least it's a nice easy one to try out.
Nov 15 '06 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Les Juby | last post by:
A year or two back I needed a search script to scan thru HTML files on a client site. Usual sorta thing. A quick search turned up a neat script that provided great search results. It was fast,...
5
by: David Webb | last post by:
The problem started when the Working Folder for a project was somehow set to the folder of another project. I set the correct working folder in VSS and deleted the .vbproj files that had been...
6
by: BookerW | last post by:
Ok interesting, on my local machine And i did not do a good job of keeping track of the exact order.... but on my local machine in which i have vis studio 2003 installed and IIS for win XP,...
12
by: pac | last post by:
I'm preparing to distribute a Windows XP Python program and some ancillary files, and I wanted to put everything in a .ZIP archive. It proved to be inordinately difficult and I thought I would...
0
by: Niyazi | last post by:
Hi, I created application that store the data in SQL SERVER that reside on network. The client also use this application to access the resources provided with application. But is the client want...
9
by: Synapse Syndrome | last post by:
Hi I've been given what I am told is a PHP script to be used on my server. I do not know any PHP. I am trying to use a feature of a program called ArchiCAD. This feauture allows CAD drawing...
1
by: Oliver Marshall | last post by:
Hi, Im after a simple script to help sort my downloads. Basically I have a downloads folder, and at the moment I have directory browsing enabled so that i can download files. What I want is...
3
by: jaeden99 | last post by:
I was wandering if nyone has a script to move files older than x days old? i've seen several to delete, but I don't want to delete. I would like to create a backup of the files first verify with...
4
by: Chris8Boyd | last post by:
I am embedding Python in a MSVC++ (2005) application. The application creates some environment and then launches a Python script that will call some functions exported from the MSVC++ application....
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.