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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

shellexecute

Status
Not open for further replies.

baggio7

Programmer
Jun 23, 2004
14
0
0
CA
Hello,

Does anyone know how to ShellExecute a networked file.

non-funcitonal example:
ShellExecute (NULL, "open", "//Emilie/c:/F1000.DTA/Invoicing.exe", temp, NULL,SW_SHOWNORMAL);


Cheers,
Al
 
You must include share name (not a drive letter) in UNC name:
Code:
ShellExecute(...,"\\\\Emilie\\C$\\F1000.DTA\\...",...);
Try this...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top