Results 1 to 15 of 15

Thread: do you DOS ??

  1. #1

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606

    Unhappy

    I would like to know if somebody is good with Dos, i have two or three questions!

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    Post them and see if someone can answer them.

  3. #3

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606

    Talking ok

    i would like to know :

    how to declare variable,

    find a cd-rom

    and do concatenation(myvariable + "wefd")

  4. #4
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Which language are you using? Basic?
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  5. #5
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    Why use a batch? You can also use qbasic to create a little proggie that does the trick.

  6. #6
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    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
    Mark
    -------------------

  7. #7

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606

    Unhappy 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!!

  8. #8

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606

    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)!

  9. #9
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715

    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.

  10. #10

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606

    Lightbulb ok

    do you thimk i can fin a cd-rom letter in qbasic

  11. #11
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    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)




    Mark
    -------------------

  12. #12

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606

    really

    you mean that if i put all my run time component on my cd root it will work

  13. #13
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715

    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.

  14. #14
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    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
    Mark
    -------------------

  15. #15

    Thread Starter
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606

    Cool 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
  •  



Click Here to Expand Forum to Full Width