|
-
Jun 22nd, 2004, 08:04 AM
#1
Thread Starter
Fanatic Member
string
Hi,
If I run the following line in the RUN dialog box (i.e. start, run window) it works fine (Notice the double quotes at the beginning, middle and the end):
"\\W-I55ZB6B7\c$\Program Files\game" \\psiukapp6\test.zip ckff.ckff.asc \\W-I55ZB6B7\c$\test"
but when this line is created in c# it is not quite the same (Notice the double quotes) and therefore I can not run it using System.Diagnostics.Process.Start
strLine = @"\\W-I55ZB6B7\c$\Program Files\game \\psiukapp6\test.zip capt.capt.asc \\W-I55ZB6B7\c$\test"
System.Diagnostics.Process.Start(strLine)
The error is: system can not find the file specified.
How is it possible to make the c# created string as same as the one which can be run in the RUN dialog box?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|