IM and trying to write a simple syntax via windows cmd prompt to perform two actions....
C:\Program Files\Microsoft Office\Office>FOR /R \\cinhnf05.tsg.ge.com\ec_dev_sdaviationedrb\DOC_Files\50000 %G IN (*.doc) DO set filePath=%G and excel.exe /r Test_AutoRun4.xls
The for-loop works great, the syntax is perfect except I want to DO two things. I don't know how to make the command window see two commands after the DO. "and" did not work for me.
Please Help... Thanks