Search found 14 matches

by mr_wizard
03 Aug 2012 09:56
Forum: DOS Batch Forum
Topic: Changing time zone remotely?
Replies: 1
Views: 2171

Changing time zone remotely?

Hey folks, got a user on the other side of the states were having trouble remotely controlling. I'm aware of the dos command: RunDLL32.exe shell32.dll,Control_RunDLL timedate.cpl,,/Z Mountain Time But how would I run something like that remotely? I see W32tm command as well, but not sure what syntax...
by mr_wizard
24 Jul 2012 12:37
Forum: DOS Batch Forum
Topic: Adding login requirements when running the batch
Replies: 5
Views: 4612

Re: Adding login requirements when running the batch

Dang, duly noted. Was hoping there was some internal encryption command that can read / scramble a password.
by mr_wizard
24 Jul 2012 11:07
Forum: DOS Batch Forum
Topic: Adding login requirements when running the batch
Replies: 5
Views: 4612

Adding login requirements when running the batch

Hey folks, just looking for the syntax for adding a login requirement inside the batch. I want to restrict the allowed login to 1 technician on our domain, and we all have admin privilages. Ideas?
by mr_wizard
23 Jul 2012 14:35
Forum: DOS Batch Forum
Topic: Establishing the OS (Win 7 / Vista or XP) in the batch
Replies: 7
Views: 5083

Re: Establishing the OS (Win 7 / Vista or XP) in the batch

Ok that command was a little too much, I found this instead: systeminfo | find "Windows XP" if %ERRORLEVEL% == 0 goto WinXP systeminfo | find "Windows 7” if %ERRORLEVEL% == 0 goto Win7 Only issues is, if I tell it to go to any one of those points, I have 11 different options in my men...
by mr_wizard
23 Jul 2012 14:20
Forum: DOS Batch Forum
Topic: Establishing the OS (Win 7 / Vista or XP) in the batch
Replies: 7
Views: 5083

Re: Establishing the OS (Win 7 / Vista or XP) in the batch

Noted. 30 minutes now messing with the FOR command and can't seem to get the syntax right. This is where I'm at: For /D "Users==" %i IN C: DO @echo Successfully found the Users folder. "Users==" was unexpected at this time. Anyone mind providing the correct context? Not sure how ...
by mr_wizard
23 Jul 2012 13:35
Forum: DOS Batch Forum
Topic: Establishing the OS (Win 7 / Vista or XP) in the batch
Replies: 7
Views: 5083

Re: Establishing the OS (Win 7 / Vista or XP) in the batch

Learn something new every day. Wow. So would it look something like this: :1 @echo off if VER=Microsoft Windows XP | RENAME "C:\Documents and Settings\%USERNAME%\Application Data\Thomson Financial\Thomson ONE\Workspaces" Workspaces.%DATE% if VER=Microsoft Windows Vista | RENAME "C:\Us...
by mr_wizard
23 Jul 2012 13:21
Forum: DOS Batch Forum
Topic: Establishing the OS (Win 7 / Vista or XP) in the batch
Replies: 7
Views: 5083

Establishing the OS (Win 7 / Vista or XP) in the batch

I have a batch I'm working up that offers a number of choices via a dos window menu for the end user to choose. These options perform a wide variety of operations in regard to PC maintenance / tune up. A lot of these operations are OS dependent, where I have to modify the directory on the command li...
by mr_wizard
23 Jul 2012 11:44
Forum: DOS Batch Forum
Topic: Creating a batch file that displays workstation information
Replies: 8
Views: 10793

Re: Creating a batch file that displays workstation informat

ABC, this is fantastic. I will report back with how it turns out in our environment.

You rock. 8)
by mr_wizard
18 Jul 2012 08:22
Forum: DOS Batch Forum
Topic: Monitoring Mem Usage of specific process on XP
Replies: 2
Views: 2548

Re: Monitoring Mem Usage of specific process on XP

Well found a work around, seems to be working. :loop Sleep 3 TASKLIST /FI "IMAGENAME eq explorer.exe" /FI "MEMUSAGE ge 6000" | find /i /c "explorer.exe" if errorlevel 1 goto :loop if errorlevel 0 goto :announce :announce echo MSGBOX "Internet Explorer is not respon...
by mr_wizard
18 Jul 2012 08:11
Forum: DOS Batch Forum
Topic: Monitoring Mem Usage of specific process on XP
Replies: 2
Views: 2548

Monitoring Mem Usage of specific process on XP

Trying to keep something running in the background to monitor the memory usage (as seen in Process in Task Manager) of a specific process and when a specific size is met to create a dialog box with a message. So it would simply loop until it's found. I've tried several variations to no avail. Anyone...
by mr_wizard
17 Jul 2012 08:56
Forum: DOS Batch Forum
Topic: Creating a batch file that displays workstation information
Replies: 8
Views: 10793

Re: Creating a batch file that displays workstation informat

Not a problem abc! Thanks for taking your time to help with this. With c$ I mean: example: \\10.167.2.126\c$ or example \\10.167.2.126\c$\Program Files\Internet Explorer Running that ^ at the Run prompt. Windows automatically uses the domain/username and password credentials that are currently logge...
by mr_wizard
17 Jul 2012 07:19
Forum: DOS Batch Forum
Topic: Creating a batch file that displays workstation information
Replies: 8
Views: 10793

Re: Creating a batch file that displays workstation informat

abc, thank you for the response! The Analysts require a domain/username and password. We primarily use c$ for any ftp, and they have admin rights to these machines. The reason we need to find out if "certain" software is installed, is usually for imaging purposes. If the HDD needs to be re...
by mr_wizard
16 Jul 2012 13:13
Forum: DOS Batch Forum
Topic: Creating a batch file that displays workstation information
Replies: 8
Views: 10793

Creating a batch file that displays workstation information

Hey folks, another DOS Batch inquiry, our help desk analysts often need to retrieve certain data from XP machines on our network. This typically involves remoting into the machine (using a third party remote control app) and navigating throughout the windows GUI to gather the information. I'd like t...
by mr_wizard
11 Jul 2012 13:01
Forum: DOS Batch Forum
Topic: Various proper batch command "syntax" questions
Replies: 1
Views: 1948

Various proper batch command "syntax" questions

Hey folks, new guy here, I'm pretty familiar with Batch techniques but not quite this familiar - so I'm hoping for a bit of insight. 1. Can batch files be used for web page redirection(it's basically a make shift filter until we get approval for something else) over a local network? I'm a jr Desktop...