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

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch file to open

Reply to Message Icon

Name: matpj
Date: May 4, 2006 at 07:39:01 Pacific
OS: Windows 2000 SP4
CPU/Ram: Pentium 3 512Mb
Product: 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




Sponsored Link
Ads by Google

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

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



0

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

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)


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Batch file to open

a batch file to rename certain files www.computing.net/answers/dos/a-batch-file-to-rename-certain-files/10372.html

Batch file to run on log off! www.computing.net/answers/dos/batch-file-to-run-on-log-off/14751.html

batch file to get subset of dir? www.computing.net/answers/dos/batch-file-to-get-subset-of-dir/15350.html