How to traverse the string using for loop in batch script
Hi, Using the following command, wmic logicaldisk where Drivetype="3" get freespace,caption I get this output Caption FreeSpace C: 10017042432 D: 38401863680 E: 37099433984 I want to store the free space values of theree disks into three different variables, how can i do that? can i use for loop? how?
September 20th, 2012 7:06am

I would ask in http://social.technet.microsoft.com/Forums/en-us/ITCG/threads !MCP | MCTS 70-236: Exchange Server 2007, Configuring Want to follow me ? | Blog: http://www.jabea.net | http://blogs.technet.com/b/wikininjas/
Free Windows Admin Tool Kit Click here and download it now
September 20th, 2012 8:43am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics