RE: Pass arguments to a .com file.
From: MUSTAFA ATAKAN (matakan_at_inteltek.com.tr)
Date: 08/31/05
- Next message: Dan Foster: "Re: Itanium Solutions Alliance"
- Previous message: Keith Parris: "Re: How far can you cluster (SCS) unsupported over a WAN?"
- Maybe in reply to: Joe the Aroma: "Pass arguments to a .com file."
- Next in thread: Ken Fairfield: "Re: Pass arguments to a .com file."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Aug 2005 18:33:30 +0300
Hi Joe,
you can create a dcl script named dirsize and in the script symbols
p1, p2, ... Pn refers to first argument, second arg. third arg... and
so on that you supply in the command prompt.
-----Original Message-----
From: Joe the Aroma [mailto:bdjr76@yahoo.com]
Sent: Wednesday, August 31, 2005 5:33 PM
To: Info-VAX@Mvb.Saic.Com
Subject: Pass arguments to a .com file.
Hi,
I want to to have dir sort by size so I created the following command:
pipe dir /size %blah% | sort /key=(POS:25,SIZ:10) sys$pipe sys$output
This will output whatever dir %blah% is sorted by size. I'd like to
create a symbol or .com file to so that you can do something like
@dirsize argument (where dirsize.com is the .com filename).
- Next message: Dan Foster: "Re: Itanium Solutions Alliance"
- Previous message: Keith Parris: "Re: How far can you cluster (SCS) unsupported over a WAN?"
- Maybe in reply to: Joe the Aroma: "Pass arguments to a .com file."
- Next in thread: Ken Fairfield: "Re: Pass arguments to a .com file."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]