lundi 13 avril 2015

Passing through directory parameter to a function in MS DOS


Vote count:

0




I'm trying to do a pretty basic function in DOS. But the parameter doesn't seem to get passed through. I'm not sure what the correct syntax is. any help is appreciated...


CALL:DeleteFrom D:\Scanstest


:DeleteFrom


FORFILES -P %~1 -S -M . /D -1 /C "cmd /c DEL "@path""*



asked 58 secs ago







Passing through directory parameter to a function in MS DOS

Aucun commentaire:

Enregistrer un commentaire