forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


I cant get EXITWIN to work on 2k (VDS4)... help?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
flypaper
Contributor
Contributor


Joined: 19 Oct 2001
Posts: 104

PostPosted: Thu Sep 22, 2005 1:09 pm    Post subject: I cant get EXITWIN to work on 2k (VDS4)... help? Reply with quote

It seems to just hang my 2k boxes. What I had been doing was copying shutdown.exe from an XP box to the 2k machines and calling that. However, here's where I need your help...

Is it possible to combine shutdown.exe and another .exe I'm using into some sort of resource file in VDS4? From what I read, the resource file can only be used for icons. Is there something else?

If not, how can I get this EXITWIN command to work properly?

Thanks guys!
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Thu Sep 22, 2005 2:02 pm    Post subject: Reply with quote

You can use SSRC.EXE or any other VDS resource compiler to add any
files you wish to a VDS resource file. I dont' have any info for you about
EXITWIN and W2K. Sorry.

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
flypaper
Contributor
Contributor


Joined: 19 Oct 2001
Posts: 104

PostPosted: Thu Sep 22, 2005 2:25 pm    Post subject: Reply with quote

ShinobiSoft wrote:
You can use SSRC.EXE or any other VDS resource compiler to add any
files you wish to a VDS resource file. I dont' have any info for you about
EXITWIN and W2K. Sorry.


I guess my confusion is how do I call the .exe from the program?
Back to top
View user's profile Send private message
filip
Valued Contributor
Valued Contributor


Joined: 07 Aug 2004
Posts: 340

PostPosted: Thu Sep 22, 2005 9:21 pm    Post subject: Reply with quote

You can not call exe from source that's for shure...

I was trying to add an exe in VDS 5 #Resource and try to run'it no can do chef...

There is no logic in this about running exe from source inside another program OK

I remember first of Windows 2000 they had some problems around shutdown install SP4 and Windows 2000 resource kit

They use Shutdown.exe /s not like XP with -s

XP can work with /s and -s
Windows 2000 probably can't work with -s
Back to top
View user's profile Send private message Send e-mail
flypaper
Contributor
Contributor


Joined: 19 Oct 2001
Posts: 104

PostPosted: Fri Sep 23, 2005 12:04 pm    Post subject: Reply with quote

Maybe I'm alone here, but none of my 2k boxes have shutdown.exe on em...
Back to top
View user's profile Send private message
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Fri Sep 23, 2005 5:49 pm    Post subject: Reply with quote

Shutdown.exe for W2K is on the W2K Resource kit CD

I attached it to this message



shutdown.zip
 Description:

Download
 Filename:  shutdown.zip
 Filesize:  10.32 KB
 Downloaded:  1450 Time(s)

Back to top
View user's profile Send private message Send e-mail
flypaper
Contributor
Contributor


Joined: 19 Oct 2001
Posts: 104

PostPosted: Fri Sep 23, 2005 6:38 pm    Post subject: Reply with quote

Aslan wrote:
Shutdown.exe for W2K is on the W2K Resource kit CD

I attached it to this message


Thanks.

Actually, I already have shutdown.exe tho. I was hoping for a way to pack a couple of .exes into a file, or the ability to shutdown 2k boxes with EXITWIN or some other manner...
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Fri Sep 23, 2005 7:28 pm    Post subject: Reply with quote

flypaper wrote:
ShinobiSoft wrote:
You can use SSRC.EXE or any other VDS resource compiler to add any
files you wish to a VDS resource file. I dont' have any info for you about
EXITWIN and W2K. Sorry.


I guess my confusion is how do I call the .exe from the program?


When you use a VDS resource compiler you can also generate a map file
that contains the offsets for the files included in the resource file. My
resource compiler, SSRC.exe has documentation that explains how to use
the compiler. After creating the resource file and the map file, in your
script create a string list like you would to load a text file from a resource
script. Then save the string list under the required file name. If you need
a sample, let me know and I'll post an example.

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 653
Location: Eastern Indiana

PostPosted: Fri Sep 23, 2005 7:45 pm    Post subject: Reply with quote

This probably not what your looking for:

Code:
#RESOURCE ADD,BINARY,C:\VDS5\filename.exe,1
 BINFILE SAVERES,BINARY,1,c:\newlocation\newname.exe


But it drops the file to a new location with a new filename.
But as said earlier you cannot run them from inside your EXE.

Pritty sure your only allowed 4 files per EXE
Just change the 1 to 2,3, or 4 for more..
Back to top
View user's profile Send private message Visit poster's website
flypaper
Contributor
Contributor


Joined: 19 Oct 2001
Posts: 104

PostPosted: Fri Sep 23, 2005 8:21 pm    Post subject: Reply with quote

ShinobiSoft wrote:


When you use a VDS resource compiler you can also generate a map file
that contains the offsets for the files included in the resource file. My
resource compiler, SSRC.exe has documentation that explains how to use
the compiler. After creating the resource file and the map file, in your
script create a string list like you would to load a text file from a resource
script. Then save the string list under the required file name. If you need
a sample, let me know and I'll post an example.


If it makes a difference, I'm using VDS4, but I'd love to see how I could combine .exes then call them if you wouldn't mind.
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Fri Sep 23, 2005 8:25 pm    Post subject: Reply with quote

Just to be sure, do you also need an example of how to create a VDS 4
compatible resource file too?

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
flypaper
Contributor
Contributor


Joined: 19 Oct 2001
Posts: 104

PostPosted: Fri Sep 23, 2005 8:37 pm    Post subject: Reply with quote

ShinobiSoft wrote:
Just to be sure, do you also need an example of how to create a VDS 4
compatible resource file too?


I'm guessing that your program is pretty straight forward, I just have no idea how to script it once I have the resource file. AFAIK, there is no documentation in VDS on it...
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sun Sep 25, 2005 6:17 pm    Post subject: Reply with quote

Hi Flypaper,

Here's the code you asked for. Hopefully this will help solve your dilema.
Please read the comments in the script before running it. There is already
a compiled resource file in the zip file. It contains two files, calc.exe and
notepad.exe from the windows directory. They are from Windows 98 SE.



ssrc_001_demo.zip
 Description:

Download
 Filename:  ssrc_001_demo.zip
 Filesize:  55.51 KB
 Downloaded:  1399 Time(s)


_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
flypaper
Contributor
Contributor


Joined: 19 Oct 2001
Posts: 104

PostPosted: Tue Sep 27, 2005 12:25 pm    Post subject: Reply with quote

Wow, yeah thats some coding I would have NEVER figured out. Very cool man, very cool.
Back to top
View user's profile Send private message
flypaper
Contributor
Contributor


Joined: 19 Oct 2001
Posts: 104

PostPosted: Tue Sep 27, 2005 2:08 pm    Post subject: Reply with quote

hmmm

This script appears that it will recreate the .exes and run them from the .dsr. Is there any way to totally hide the .exes?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group