|
-
Oct 3rd, 2000, 08:01 AM
#1
Thread Starter
Frenzied Member
I would like to know if somebody is good with Dos, i have two or three questions!
-
Oct 3rd, 2000, 08:06 AM
#2
Fanatic Member
Post them and see if someone can answer them.
-
Oct 3rd, 2000, 08:17 AM
#3
Thread Starter
Frenzied Member
ok
i would like to know :
how to declare variable,
find a cd-rom
and do concatenation(myvariable + "wefd")
-
Oct 3rd, 2000, 08:21 AM
#4
Frenzied Member
Which language are you using? Basic?
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Oct 3rd, 2000, 08:22 AM
#5
Fanatic Member
Why use a batch? You can also use qbasic to create a little proggie that does the trick.
-
Oct 3rd, 2000, 08:26 AM
#6
Frenzied Member
I'm not sure what you mean by find a cd rom but here's the variable stuff
(for in a batch file)
Code:
@echo off
rem set a variable
set myVar=Mark Sreeves
set newVar=%myVar%wefd
echo %myVar%
echo %newVar%
rem clear the variable
set myVar=
set newVar=
pause
-
Oct 3rd, 2000, 08:27 AM
#7
Thread Starter
Frenzied Member
vb
I'm working in VB, but
I want to copy the run time elements for my program to work directly from a cd.(My application is a setup program and i don't want the client to install my setup and then run my setup to install other application).Somebody told me to do a boostrap but i'm not sure where to do it and how.A batch file work sort of like a exe and i could put it as the autostart on my cd.
If somebody have suggestions, common don't hesitate!!
-
Oct 3rd, 2000, 08:30 AM
#8
Thread Starter
Frenzied Member
tanx
thank you mark
i mean by finding a cdrom,to locate the user cd-rom so that i can know my source(for copying)!
-
Oct 3rd, 2000, 08:31 AM
#9
Fanatic Member
Re: vb
Originally posted by sebs
A batch file work sort of like a exe and i could put it as the autostart on my cd.
You can use Basic to create a simple copy app. The Basic program doesn't need runtime files. And you can also put it in the autostart.
-
Oct 3rd, 2000, 08:35 AM
#10
Thread Starter
Frenzied Member
ok
do you thimk i can fin a cd-rom letter in qbasic
-
Oct 3rd, 2000, 08:35 AM
#11
Frenzied Member
Are your run time components just to support you setup program?
if so, you can access them directly from the cd(just put them in the same dir as the exe ie. the CD root)
-
Oct 3rd, 2000, 08:37 AM
#12
Thread Starter
Frenzied Member
really
you mean that if i put all my run time component on my cd root it will work
-
Oct 3rd, 2000, 08:47 AM
#13
Fanatic Member
Re: really
Originally posted by sebs
you mean that if i put all my run time component on my cd root it will work
I think yes. (not on the root, but in the same dir as the program) The p&d wizard also uses a vb program setup.
-
Oct 3rd, 2000, 08:47 AM
#14
Frenzied Member
Yeah!
Well, it might
I did one in vb5 last year.
the setup.exe runs automaticly from autorun.inf and had 4 buttons (well they weren't actually buttons but that's not important) which "shell()"ed to the four real setup apps stored in 4 sub dirs on the cd
so the root looked a bit like this:
DIR1
DIR2
DIR3
DIR4
ASYCFILT.DLL
AUTORUN.INF
COMCAT.DLL
CTL3D32.DLL
MSVBVM50.DLL
oleaut32.dll
OLEPRO32.DLL
Setup.exe
STDOLE2.TLB
-
Oct 3rd, 2000, 08:50 AM
#15
Thread Starter
Frenzied Member
hummk
i'll try this
hope it will work cuz it's gonna save me some time!!
If it does'nt what you guys think about a bootstrap:
http://msdn.microsoft.com/library/de...tuplstfile.htm
[Edited by sebs on 10-03-2000 at 09:56 AM]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|