Search found 6 matches

by Yamanipanuchi
01 Oct 2012 15:31
Forum: DOS Batch Forum
Topic: Directory Size?
Replies: 6
Views: 3851

Re: Directory Size?

Ya, that work normally. This is unfortunately a Network share and the share is not the root of all the folders.
by Yamanipanuchi
01 Oct 2012 12:51
Forum: DOS Batch Forum
Topic: Directory Size?
Replies: 6
Views: 3851

Re: Directory Size?

I realized after the fact that I didn't really make it clear what I was trying to do. I'm trying to get the size of the directory including all the sub directories.
by Yamanipanuchi
01 Oct 2012 11:49
Forum: DOS Batch Forum
Topic: Directory Size?
Replies: 6
Views: 3851

Directory Size?

Was wondering if anyone out there know a better way to do this? @echo off for /f "tokens=2 delims= " %%a in ('date /T') do (set date=%%a) for /f "tokens=1,2 delims= " %%b in ('time /T') do (set time=%%b) pushd "R:\" for /f "tokens=3 delims= " %%e in ('dir /s /...
by Yamanipanuchi
23 Aug 2012 10:29
Forum: DOS Batch Forum
Topic: Idea's?
Replies: 5
Views: 3745

Re: Idea's?

Wow, Ya didn't expect you to look into it that far. Thanks! I guess if you don't mind me asking, What would even work best for what I am trying to do is to check to see if a specific process "????.exe" is running. If that process isn't running I want the PC to shut down. I don't know how e...
by Yamanipanuchi
20 Aug 2012 10:15
Forum: DOS Batch Forum
Topic: Idea's?
Replies: 5
Views: 3745

Re: Idea's?

Thanks for the quick response! Worked perfectly!

I just knew there was a better way.. Thanks again!
by Yamanipanuchi
17 Aug 2012 15:40
Forum: DOS Batch Forum
Topic: Idea's?
Replies: 5
Views: 3745

Idea's?

New to the forum. Was wondering if anyone had some ideas on the batch file I created. The whole thing works, But I just have this feeling there's a better way to do this. Plus i'm looking to learn some new tricks.. Essentially I am looking to get average CPU usage over a short period of time. 'wmic ...