Search found 4 matches

by aown61
15 Jun 2011 03:08
Forum: DOS Batch Forum
Topic: Using If ... Else within a Batch file - FTP Script
Replies: 5
Views: 12392

Using If ... Else within a Batch file - FTP Script

Hi all, I've got a batch which creates a script to run against FTP, which counts the number of .csv files in a given directory. If the count is correct the batch will create a file (.done) What i would like to do is add an ELSE statement after this. So if :count: < 10 (for example) DO :this command:...
by aown61
02 Sep 2010 03:14
Forum: DOS Batch Forum
Topic: Please help, creating DOS batch file to create csv from DIR
Replies: 3
Views: 5591

Re: Please help, creating DOS batch file to create csv from

You sir are a genius!
Thank you very much, exactly what i was after :)
-Andy
by aown61
02 Sep 2010 01:20
Forum: DOS Batch Forum
Topic: Please help, creating DOS batch file to create csv from DIR
Replies: 3
Views: 5591

Please help, creating DOS batch file to create csv from DIR

Hi guys i've created the below batch file to create a csv fil from a dir command. @echo ImageId, ImageFilePath >> "\\ptdckbox01\d$\Bi Projects\Inputs\RE\Audit_Pics\audit_pics_dir.csv" dir "\\ptdckbox01\d$\Bi Projects\Inputs\RE\Audit_Pics\" /b /s >> "\\ptdckbox01\d$\Bi Projec...