Search found 4 matches

by jeff.eisenberg
17 Apr 2015 20:18
Forum: DOS Batch Forum
Topic: parameter not getting passed in a DOS function
Replies: 6
Views: 4370

Re: parameter not getting passed in a DOS function

Ahhhhh
Of course
That makes sense
Thanks!
by jeff.eisenberg
17 Apr 2015 17:20
Forum: DOS Batch Forum
Topic: parameter not getting passed in a DOS function
Replies: 6
Views: 4370

Re: parameter not getting passed in a DOS function

Disregard that last note. I think I have it working now. The script performs the function however, it returns a 2nd line with an error after it's already successful. The script I have is: CALL :DeleteFrom "C:\Scanstest1" :DeleteFrom ::( FORFILES -P %~1 -S -M *.* /D -30 /C "cmd /c DEL ...
by jeff.eisenberg
17 Apr 2015 17:08
Forum: DOS Batch Forum
Topic: parameter not getting passed in a DOS function
Replies: 6
Views: 4370

Re: parameter not getting passed in a DOS function

Thanks for replying but I'm not sure what that is supposed to mean.
Is that a correction to my code or does it just make a point on syntax?
Could you let me know specifically how my code should look to work correctly?
by jeff.eisenberg
17 Apr 2015 14:58
Forum: DOS Batch Forum
Topic: parameter not getting passed in a DOS function
Replies: 6
Views: 4370

parameter not getting passed in a DOS function

I'm trying to do a basic function in a batch file, but the parameter doesn't seem to get passed through. In the example below the parameter is "C:\Scantest". When I change it to not contain the characters ":\" it gets passed through. It seems that it has something to do with &quo...