Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unc - the system cannot find the file specified

Status
Not open for further replies.

bbxrider

Programmer
Sep 23, 2008
18
US
i have unc path that i successfully use in a vb program, to write to a file, basically this
Set ts = fs.OpenTextFile("\\highiv-9y5vwcb1\g\mydocs1\work\web sites\webSitesVb\webSitesVb1.log"

now i go to run the vb program (from a vbs file via open in windows explorer) which is in the same directory as above like this
WshShell.Run "\\highiv-9y5vwcb1\g\mydocs1\work\web sites\webSitesVb\webSitesVb1.exe"

and i get 'the system cannot find the file specified' 80070002 - you can see the directory path is identical and please believe me i have the correct name of the program
i'm running all this as an admin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top