Thread: What the heck am I possibly doing wrong?

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    752

    What the heck am I possibly doing wrong?

    a.cmd:
    Code:
    @echo before
    @b.cmd
    @echo after
    b.cmd:
    Code:
    @echo b
    Result:
    Code:
    D:\bin>a.cmd
    before
    b
    
    D:\bin>
    I know I've used sub-scripts in windows before, but I don't ever remember having this happen. What am I forgetting?
    Callou collei we'll code the way
    Of prime numbers and pings!

  2. #2
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    Hmm, long time since I really did any windows/dos script, but aren't you supposed to issue a "call" to another script in order for it to return?

    ie. call b.cmd

    If not, just ignore me. Been making too many mistakes lately.

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    752
    Thanks, that was it. I kept trying 'source', heh.
    Callou collei we'll code the way
    Of prime numbers and pings!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What the heck is wrong with my database?
    By Blizzarddog in forum C++ Programming
    Replies: 2
    Last Post: 11-11-2002, 10:51 AM
  2. What the heck is wrong with this code?
    By Shadow12345 in forum C++ Programming
    Replies: 4
    Last Post: 09-25-2002, 02:58 PM
  3. Whats wrong?
    By Unregistered in forum C Programming
    Replies: 6
    Last Post: 07-14-2002, 01:04 PM
  4. What did i do wrong? Code inside
    By The Rookie in forum C Programming
    Replies: 2
    Last Post: 05-18-2002, 08:14 AM
  5. What The Heck Is Wrong W/ This?
    By Prodigy in forum C++ Programming
    Replies: 6
    Last Post: 05-05-2002, 03:44 PM