| View previous topic :: View next topic |
| Author |
Message |
nemisis010 Newbie

Joined: 29 May 2002 Posts: 17 Location: Australia
|
Posted: Thu May 30, 2002 1:03 pm Post subject: What can be run from a .dsr file? |
|
|
I was wondering what files could be accessed through a .dsr file.
I use another scripting tool (Autoit - www.hiddensoft.com) also and would like to add an .exe script made with autoit, could the .exe script file be run with from a .dsr file;
Run, test.dsr|script.exe _________________ ------------------------------------
Boo |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Thu May 30, 2002 8:34 pm Post subject: |
|
|
DSR files are "resource" files that you can put
BMP, TXT and ICO files in (to keep from having
a lot of separate files with your program, and
prevent most users from ripping off your stuff).
Look in the VDS help file under "resource
compiler" for more details.
You cannot run an EXE from a DSR file.
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
|
| Back to top |
|
 |
nemisis010 Newbie

Joined: 29 May 2002 Posts: 17 Location: Australia
|
Posted: Fri May 31, 2002 2:48 am Post subject: Extracting the files |
|
|
From what you guys have said i think it would be the best if i just extract them to a hidden directory and delete them afterwards.
Thanks guys _________________ ------------------------------------
Boo |
|
| Back to top |
|
 |
nemisis010 Newbie

Joined: 29 May 2002 Posts: 17 Location: Australia
|
Posted: Fri May 31, 2002 3:11 am Post subject: |
|
|
8O 8O 8O <- I JUST LOVE THIS EMOICON!!! - LOL
Can any of you guys see what's wrong with this line of code, the
%%FILENAME1 variable retreives a filename from a listbox, and the
%%CFWPATH variable is a path to a directory, eg C:\temp
| Code: |
%%FILENAME1 = @dlgtext(FILELIST)
file copy %%CFWPATH\%%FILENAME1,%%CFWPATH\Dbackup\%F-%%FILENAME1
|
the error i keep getting is "invalid parameter to command" which says in the help file that "One of the parameters to a command is not valid".
DON't BOTHER REPLYING TO THIS POST, I FOUND IT OUT, DUH. _________________ ------------------------------------
Boo |
|
| Back to top |
|
 |
|