Hello,
I use this line a lot to check directory for file stabling
let>source=some directory
Run>cmd /c dir "%source%" >%Ltemp%\~dirsizem.txt
but it does not work on window 2012 server, would some one help me
I did this Let>ProgramPath=%systemroot%\SysWOW64\cmd.exe
run>%ProgamPath% /cdir "%source%" >%Ltemp%\~dirsizem.txt
still did not work
Thanks
command line help
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: command line help
What is source directory - maybe that is 64 bit or needs privs?
What does the command window return? It should tell you why it didn't work.
What does the command window return? It should tell you why it didn't work.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?