Computing.Net > Forums > Disk Operating System > Batch file to open

Batch file to open

Reply to Message Icon

Original Message
Name: matpj
Date: May 4, 2006 at 07:39:01 Pacific
Subject: Batch file to open
OS: Windows 2000 SP4
CPU/Ram: Pentium 3 512Mb
Model/Manufacturer: IBM NetVista
Comment:

Hi there,

I need to write some kind of script that will open an excel spreadsheet I have created - at a given date/time (or possibly scheduled weekly)
Can this also be done in the background - without opening MS Excel?

Any help would be gratefully received.
Regards,
Matt



Report Offensive Message For Removal


Response Number 1
Name: Mechanix2Go
Date: May 4, 2006 at 10:19:58 Pacific
Reply: (edit)

A number of things are possible.

But if you want to open a spreadsheet, you need to open it WITH SOMETHING.

There are 3rd party spreadsheet [and database etc] viewers.

The batch file can be pretty simple:

start excel c:\temp\abc.xls

Then schedule it with AT.


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

M2Go



Report Offensive Follow Up For Removal

Response Number 2
Name: alexanrs
Date: May 4, 2006 at 12:06:40 Pacific
Reply: (edit)

I think you do not need to specify a program with start. You could use a command like:

start c:\temp\abc.xls

Also, you should have no problem opening it at the desired date/time using the "Scheduled Task" folder (in My computer up to Windows ME/2K, in Control Panel in Windows XP)


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 to open 

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 6 Days.
Discuss in The Lounge