I can't seem to get the correct syntax for this:
I write this to a batch file which is then run with Process.Start but of course it will not run "Program Files" unless I get the quotes around it. Doubling on the quotes doesn't seem to work correctly either.Code:objTmpWriter.WriteLine("C:\Program Files\7-Zip\7z.exe a C:\xampp\htdocs\out\" & _ Form1.UniqueIDNum & ".zip c:\0\downtime.pdf")




Reply With Quote