.bat help

Discussion in 'Programming General' started by rotterdam_dj, Oct 4, 2008.

.bat help
  1. Unread #1 - Oct 4, 2008 at 9:26 AM
  2. rotterdam_dj
    Joined:
    Sep 29, 2007
    Posts:
    66
    Referrals:
    0
    Sythe Gold:
    0

    rotterdam_dj Member

    .bat help

    okay i have 2 questions...

    I need 2 seperate codes..one is to launch an .exe file from a batch file

    and the second is to download and save a file..if anyone can help they can have my eternal love :)
     
  3. Unread #2 - Oct 7, 2008 at 5:27 PM
  4. 0017513060
    Joined:
    Mar 9, 2007
    Posts:
    413
    Referrals:
    0
    Sythe Gold:
    0

    0017513060 Forum Addict

    .bat help

    well further explain and i can help you further
     
  5. Unread #3 - Oct 8, 2008 at 3:44 PM
  6. lolzjr
    Referrals:
    0

    lolzjr Guest

    .bat help

    1.
    Code:
    C:\path\to\program.exe
    
    easy enough, just include the path to the program and the name for example if you wanted to launch itunes
    Code:
    "C:\program files\itunes\itunes.exe"
    note the " before the C:\ and at the end of the line, those are needed for running programs that have spaces in the name.

    2.
    not sure about the syntax but look into the "ftp" command.
     
  7. Unread #4 - Oct 9, 2008 at 3:47 AM
  8. Cymru
    Joined:
    Jan 22, 2007
    Posts:
    693
    Referrals:
    0
    Sythe Gold:
    0

    Cymru Apprentice
    Banned

    .bat help

    If the second one is on an FTP site, then you need to write 2 batch files. One with an ftp header which calls the second, the second is what happens in the ftp.
     
  9. Unread #5 - Oct 9, 2008 at 2:53 PM
  10. hampe-92
    Joined:
    Jul 10, 2008
    Posts:
    328
    Referrals:
    0
    Sythe Gold:
    0

    hampe-92 Forum Addict

    .bat help

    why is this in web programming anywayz??
    it should be in Programming general...
     
  11. Unread #6 - Oct 9, 2008 at 5:49 PM
  12. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    .bat help

    You can actually shorten the directory names for Windows for easier typing. In example:

    Code:
    C:\Progra~1\iTunes\iTunes.exe
    Also, moved.
     
  13. Unread #7 - Oct 13, 2008 at 9:37 PM
  14. exapto
    Joined:
    Oct 10, 2008
    Posts:
    645
    Referrals:
    0
    Sythe Gold:
    123
    Vouch Thread:
    Click Here
    Discord Unique ID:
    716746285151027321
    Discord Username:
    exapto#2360
    Homosex

    exapto #1 OSRS Magic Training Service
    $50 USD Donor New

    .bat help

    Awwwwwwwwwwwwww, Swan posted before I did......=P
     
  15. Unread #8 - Oct 13, 2008 at 9:41 PM
  16. Govind
    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    .bat help

    The shortened file path thing is for compatibility with the DOS 8.3 filename convention. It can be used to shorten file paths, though.
     
< C++ exit program | how do i make a error message? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site