Welcome, Guest. Please login or register.

Author Topic: DOS command  (Read 1980 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline SidewinderTopic starter

  • Full Member
  • ***
  • Join Date: Mar 2002
  • Posts: 241
    • Show all replies
    • http://www.liquido2.com
DOS command
« on: January 05, 2003, 01:23:44 AM »
Hello, I'm at work and do not have my official AmigaDOS reference handy, but I need to find a command or trick to return the current directory.  Any ideas?

Thanks.
Sidewinder
 

Offline SidewinderTopic starter

  • Full Member
  • ***
  • Join Date: Mar 2002
  • Posts: 241
    • Show all replies
    • http://www.liquido2.com
Re: DOS command
« Reply #1 on: January 05, 2003, 01:30:23 AM »
Ok, here's the deal, I figured out that CD returnes the current dir, but does anyone know how to use that in an install script? I've tried this:

(set @source (run ("cd")))

But it doesn't work.  Any other ideas?
Sidewinder