09-13-2008
Actually, an alias to a command can be done in XP. Using regedit I created a subkey called "cpu-z" in "HKLM\SOFTWARE\Microsoft\CurrentVersion\App Paths" with a value of "C:\Utilities\cpu-z\cpuz.exe". And now when I try to run cpu-z, it works. I can replace the value with a path to any program and that works too. Also batch files work, although a cmd window pops up.
One of several little tricks I learned from battling a recent virus....
10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
This question maybe in the wrong category but I'm posting here due to urgency.
In DOS is there a command to perform a similar function to spool command in SQL or Script command in UNIX?
I want to print all command line output to a file but I don't want to use the echo command for each line.
... (2 Replies)
Discussion started by: stevefox
2 Replies
2. UNIX for Dummies Questions & Answers
I have navigated every DOS and UNIX FAQ to find the DOS equivalent of the UNIX ps command (ps -f would be even better) but all listings of DOS<>UNIX commands do not have it (they all have the same basic commands listed). DOS must have a way of detecting running processes and TSRs. mem /c is the... (7 Replies)
Discussion started by: dancingfool
7 Replies
3. UNIX for Advanced & Expert Users
I need to set the serial port attributes to 9600,7,E,1 in order to read and write data to it from within a Foxpro program. Unfortunately there is no function in Foxpro to set the line attributes, only open. close read and write.
Stty only works on the stdout and stdin in this release, and the... (3 Replies)
Discussion started by: jgt
3 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
what is the equivalent command of the DOS set that lists all the environment variable and their values?
Xavier. (3 Replies)
Discussion started by: xxavier
3 Replies
5. Shell Programming and Scripting
Dear All
Could you please advice how do we convert a unix file to dos
I know one command,ux2dos, which somehow does not work to give desired output
Inputs on this is appreciated
Thanks,
Suresh (3 Replies)
Discussion started by: sureshg_sampat
3 Replies
6. Windows & DOS: Issues & Discussions
In Unix I can use command line to do a find for files older than so many days and remove them. I can also capture the date to see if its a saturday and do something different. Are there any dos/intel command line equivalent commands to do this on a windows 2003 server? This is from an... (6 Replies)
Discussion started by: MizzGail
6 Replies
7. AIX
i know after you do something in smitty via the gui, you can click something in smitty that will show you how to do the same thing via the command line, (not using the gui) can anyone tell me how (2 Replies)
Discussion started by: asyed123
2 Replies
8. Windows & DOS: Issues & Discussions
Hi,
The title of this post is a little vague but I couldn't think of what to call it.
In Unix you can perform the following command
ftp -v IPADDRESS <<END
put FILE
END
In a DOS command prompt, is it possible to do the same kind of thing that the "<<END" does?
So for example, ... (4 Replies)
Discussion started by: Ste_Moore01
4 Replies
9. UNIX for Dummies Questions & Answers
hi all, i'm trying to do this exercise, i want to create a script that can substitute WC command in unix, can someone help me? (11 Replies)
Discussion started by: Marina2013
11 Replies
10. Shell Programming and Scripting
Well,
this command has served me quite well under DOS
for %%X in (*.txt) do COMMAND
however in linux it just outputs:
"./install.sh line 1: '%%x': not a valid identifier.
Ideas ?
Thanks in advance (2 Replies)
Discussion started by: pasc
2 Replies
ali(1mh) ali(1mh)
Name
ali - list mail aliases
Syntax
ali [ -alias aliasfile ] [ -help ] [ -[no]list ] [ -[no]normalize ] [ -user useraddr ] [ -nouser ] [ aliases ... ]
Description
The command searches the specified mail alias files for each of the given aliases. It creates a list of addresses for those aliases, and
displays that list on the screen.
Options
-alias aliasfile
Specifies the alias file to be consulted by You can specify more than one alias file, but each aliasfile must be preceded by
-alias. In addition to any alias files that you specify, consults the system alias file
You can set up an entry in your so that automatically consults an alias file. To do this, add the Aliasfile entry to your pro-
file. See for more information.
-help Prints a list of the valid options to this command.
-list
-nolist Prints the addresses on separate lines. If you do not specify the -list option, the addresses are separated by commas and
printed on as few lines as possible.
-normalize
-nonormalize
Instructs to try to track down the official hostname of the address. This can be suppressed by using -nonormalize. The default
is -nonormalize.
-user useraddr
-nouser Displays all the aliases that contain a specific name. Instead of listing the addresses that each given alias expands to, lists
the aliases that expand to include each given address. You must specify the complete user name that you have used in your alias
file.
The defaults for this command are:
-alias /usr/lib/mh/MailAliases
-nolist
-nonormalize
-nouser
Examples
The following example shows how the -user option can be used to list all the aliases containing the address Parker@Venus:
% ali -user Parker@Venus
Parker@Venus: Group, Reviewers, Badminton
Profile Components
Path: Location of your Mail directory.
Aliasfile: Location of your personal alias file.
Files
The user profile.
The system alias file.
The system password file.
The system group file.
See Also
mh-alias(5mh)
ali(1mh)