![]() |
|
|||||||
| DirMon Discussion Discussion related to the DirMon application produced by Dragon Global. Questions, issues, problems, suggestions, etc. regarding Dragon Global should be posted here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I'm trying to set up a job that will trigger off a file, lets say called dvd.img, and in turn run the file in the same directory called dvd.burn.bat. Since the BASENAME ("dvd" in my example) is the variable, I tried the following (see screen shot), and it's working great!
|
|
||||
|
Change the command line options to:
/K %BASENAME%.burn.bat and then test it. The command line window should remain open at the end of the batch file. If it is working, you can change /K to /C and the window will close upon completion. DISCLAIMER: This is only theoretical. I don't know if it will work, but I'd like to know. ![]() Jere
__________________
DEATH TO ALL COMMERCIALS Latest Stable: ShowAnalyzer 1.0.58 - 31 Jan 2010 Latest: DirMon2 Beta 0.6.4 - 8 May 2008
|
|
|||
|
Okay, I had to connect to the PC localy, not via RDC to see the command window. The %BASENAME% variable looks like it wants to work, but the filename has spaces, and the command window is only trying to run the command name up to the first space. This particular attempt is being performed on the filenames "24 - Day 6 300PM - 400PM.dvdList.0.img" and "24 - Day 6 300PM - 400PM.dvdList.0.burn.bat".
Using different "Program to run", yielded different failured. Using "cmd" failed due to "'24' is not recignized as an internal or external command...". Using "command" didn't launch a command window at all. Using "command.com" failed with a "Bad command or file name" message. I don't see a variable that will extrapolate the 8dot3 version of the BASENAME. |
|
||||
|
Quote:
Code:
/C [[C:\SageDVD\%BASENAME%.burn.bat]] ![]() Jere
__________________
DEATH TO ALL COMMERCIALS Latest Stable: ShowAnalyzer 1.0.58 - 31 Jan 2010 Latest: DirMon2 Beta 0.6.4 - 8 May 2008
|
|
|||
|
Quote:
Code:
/C C:\SageDVD\"%BASENAME%.burn.bat" |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What are the command line variables? | cnovak | DirMon Discussion | 0 | 11-24-2007 05:41 PM |
| Command Line Options | craigdthom | ShowAnalyzer Beta | 1 | 11-05-2007 06:29 PM |
| Command line switch to generate EDL files | phredeaux | ShowAnalyzer Beta | 0 | 08-22-2007 08:13 AM |
| Do bat files run in a different way when they are run from DirMon not command line? | bashers | DirMon Discussion | 1 | 05-21-2007 07:42 AM |
| Command Line substitution | mickelin | DirMon Discussion | 3 | 01-08-2007 05:27 PM |