newbie - calling apps using vb scripting 
Author Message
 newbie - calling apps using vb scripting

I've recently been experimenting with the task scheduler and various
programs to automate a backup routine. Any "backup software" that I have
looked at seems to have strengths and weaknesses so what I've decided on is
an inexpensive archive program that allows me to select a backup set and zip
that set into a single file. I can also choose to do incremental vs full,
etc with it. I have this prg place the zipped file in the "documents and
settings/userid/local settings/application data/microsoft/cd burning"
directory so it is queued for burning. I've successfully scheduled it to run
an incremental Mon thru Thu and a full on Fri. So far so good.

My question is this? How can I write a batch file (or script) to
automate the rest of the process. I need to erase the CDRW in the cd drive
and copy the file(s) in the queue to the CD? Obviously I could schedule this
to run x number of minutes after the zip routine is called but I can't
figure out what commands to issue in the batch file. Ideally the batch file
or scheduled event would poll the above directory and when it finds a file
there, after evaluating the name for a decision branch, go ahead and
initiate the remainder of the process.

Any help will be appreciated.
Steve



Sun, 17 Jul 2005 02:36:28 GMT  
 newbie - calling apps using vb scripting

Quote:
> I need to erase the CDRW in the cd drive
> and copy the file(s) in the queue to the CD?

do you have a command-line utility to do this, or is it a CDRW that only
comes with GUI/plugin-style support apps?

________________________________________
I got bored with my old signature,
so I changed it

Atrax. MVP, IIS
http://rtfm.atrax.co.uk/

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Sun, 17 Jul 2005 08:23:21 GMT  
 newbie - calling apps using vb scripting
AFAIK I only have the gui version. Part of my musing was how I could call
the gui using command line. I originally thought I was going to do this with
batch files, you know - old school. But with everything gui and now this
scripting option I guess I'll have to learn something new, huh?

What I have been doing manually is opening Windows Explorer, right clicking
on the CDRW and choosing "Erase this CD-RW". Not sure how else to get there.

Steve


Quote:
> I need to erase the CDRW in the cd drive
> and copy the file(s) in the queue to the CD?

do you have a command-line utility to do this, or is it a CDRW that only
comes with GUI/plugin-style support apps?

________________________________________
I got bored with my old signature,
so I changed it

Atrax. MVP, IIS
http://rtfm.atrax.co.uk/

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Sun, 17 Jul 2005 10:11:41 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Whats the best way to execute a VB app from another VB app

2. Calling one VB Script from another VB Script

3. Can I call a VB function from a script in an HTML page that is displayed in the VB App using MSIE Control ?

4. Calling a win32 DLL in a vb app - Need help

5. CALLING data from database using VB-CGI scripting

6. Using VB (or VBA) to call code in multiple worksheets of an Excel app

7. Calling a Word macro from a VB app using WordBasic

8. Calling a VB Script Routine from VB

9. convert vb app to be used on inernet

10. PLEASE HELP! VBA app calls in VB app

11. Calling another app from a vb app

12. to call an app from within a VB app

 

 
Powered by phpBB® Forum Software