Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

Subject: Batch File Help

Original Message
Name: WesternWork
Date: February 24, 2008 at 20:56:38 Pacific
Subject: Batch File Help
OS: XP
CPU/Ram: P4
Model/Manufacturer: HP
Comment:
Hi everyone,

I have a batch file currently that will wake up (via WOL), certain computer with 2 minute intervals so when the employees come in, there is no network congestion due to everyone logging in at once.

That is all working fine, however I found a problem when I went to add the task to the scheduler on the server.

I don't want the script to run on weekends, as there is no need for the computers to be on.

Is there a way, by using a batch file, to make the script only run on weekdays? I have the syntax correct, however I don't know how to retrieve the 'day' variable.

Any help would be greatly appreciated!

Thanks!


Report Offensive Message For Removal

Response Number 1
Name: IVO
Date: February 25, 2008 at 01:34:07 Pacific
Subject: Batch File Help
Reply: (edit)
If you contact me by e-mail (follow the instructions given by clicking on my Name I can send you a 16 bit tool that fit your needs. And this is not a DOS related issue strictly speaking.

Report Offensive Follow Up For Removal

Response Number 2
Name: alexanrs
Date: February 25, 2008 at 07:45:48 Pacific
Subject: Batch File Help
Reply: (edit)
Honestly, if you knwo anything about programming, this should be easy. Get a free C/C++ (my fav. language) compiler and create a small exe that will return an ERRORLEVEL of 0 on weekdays and 1 on weekends.

Report Offensive Follow Up For Removal

Response Number 3
Name: Mechanix2Go
Date: February 26, 2008 at 01:53:00 Pacific
Subject: Batch File Help
Reply: (edit)
at 07:00 /every:m,t,w,th,f notepad.exe


=====================================
If at first you don't succeed, you're about average.

M2



Report Offensive Follow Up For Removal



Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Batch File Help

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software



Version Tracker Pro
Keep your software current and secure, effortlessly

Click Here for a Free Scan

Driver Agent
Automatically find the latest drivers for your computer.
Click Here for a Free Scan



The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC