11-07-2002
dos like commands
use the command
"lsdir a:" in sco-unix
"mdir a:" in dec-alpha unix
or reply to this with your unix/linux version...
so that I can give you the exact command syntax...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I find if a server contains a DDS3 or a DDS2 drive remotely ?
I checked in SMIT and I noticed the description field according to tape drives, but is there another more thorough way?
Thanks,
Luke (0 Replies)
Discussion started by: Skywlkr235
0 Replies
2. UNIX for Dummies Questions & Answers
Hey guys,
I'm trying to mount a SUN DDS-2 tape drive on a SUN Ultra 80 machine running Solaris 9. I had the SCSI drive connected at time of install, I'm very new to Solaris so I don't know if Solaris would detect the drive like that and install some form of device driver. But, what im posting... (2 Replies)
Discussion started by: kingdbag
2 Replies
3. Solaris
Hello, I am trying to copy a boot tape DDS-01 with miniroot, but i donīt get this copy. i have already used the command dd, but donīt work. There are other way to get it. (0 Replies)
Discussion started by: carelias
0 Replies
4. Shell Programming and Scripting
Hi
I have a dos batch file in window server where I call a cmd command for creating some db.
this cmd commad is located in e:\data\abcd\xyz.cmd.
Now I call this batch file from unix ssh.sh but my access point is D in window server here I want to change the dos prompt to e:\data\abcd.
in... (3 Replies)
Discussion started by: Jamil Qadir
3 Replies
5. UNIX for Dummies Questions & Answers
Dear Experts and Advanced User,
I encounter a rare problem as mentioned above. I am not able to read the tape cartridge using the following command:
#dd if=/dev/rmt/0mnb ibs=16k | tar tvf -
It will prompt me with the message saying DD I/O error, broken pipe; everytime the above command... (1 Reply)
Discussion started by: stufftiger
1 Replies
6. UNIX for Dummies Questions & Answers
Hi all
I have BIG headache with an old unix server I have and I need some help and ideas how to solve them effectively. Thanks in advance
***Story***
I have an OLD SCO OpenServer 5 release 5 server with DDS4 tape device.
I also have a box full of DDS4 tapes with data inside. I... (3 Replies)
Discussion started by: khaos83_2000
3 Replies
7. Windows & DOS: Issues & Discussions
:confused:
Hello,
Is there any way to use the dir command / some DOS Script to select only first file of similar pattern of files in a direcotory and rename it for example, one directory has 5 files
abc_1005.txt
abc_5256.txt
abc_2001.txt
abc_2003.txt
abc_3006.txt
by use script I would... (2 Replies)
Discussion started by: raghav525
2 Replies
8. Windows & DOS: Issues & Discussions
Hi,
(Apologies, I'm sure I'm not the first person to raise this question but so far in my searches haven't found a good answer).
I would like to output a listing per line of filename (including full path) and 'last updated' timestamp. e.g:
Z:\dir1\file1.txt 01/02/2010 10:43... (5 Replies)
Discussion started by: GM_AIX
5 Replies
9. AIX
Hi All,
Are there recommendations about the use of cleaning tapes in DDS devices?
Should I clean the tape only when the drive indicates cleaning? Should I clean it once a month, week, even every day?
Is it harmful to clean the tape every day?
Thanks for your insights.
--Peter (4 Replies)
Discussion started by: petervg
4 Replies
10. AIX
Hi
I need to make some restore tapes for our old AIX systems
I have purchased some DDS2 tapes and cleaning tapes
The tape drive is rmt0
what commands can I enter to run the cleaning tape through the drive
and are the any commands I can enter to test these drives
prior to using... (2 Replies)
Discussion started by: madmacher
2 Replies
mdir(1) General Commands Manual mdir(1)
NAME
mdir - mtools utility to display contents of a DOS directory
SYNOPSIS
mdir [-w] msdosdirectory
mdir [-w] msdosfile [msdosfile...]
OPTIONS
Specifies wide output. Enables file names to be displayed across the page without displaying the file size or creation date.
DESCRIPTION
The mdir command lists the contents of a DOS directory. Unlike the DOS convention, multiple arguments are supported. If the component of
the path is not a directory, an error occurs. The mdir command assumes a new disk if the current path held in the file is invalid.
DOS subdirectory names that contain the '/' or '' separator are supported. If you use the '' separator or wildcards, you must enclose
file names in quotes to protect them from the shell.
The mcd command can be used to establish the device and the current working directory (relative to DOS), otherwise the default is A:.
RESTRICTIONS
The mdir command does not support the /P (pause) option.
EXIT STATUS
The following exit values are returned: Success. Failure.
ENVIRONMENT VARIABLES
The following environment variables affect the execution of mdir: If set, this variable names the file that contains the name of the cur-
rent mtools working directory as established by the mcd command. If this variable is not set, the file $HOME/.mcwd is used.
FILES
Contains the name of the current mtools working directory as established by the mcd command. If this file does not exist, the default
mtools working directory is A:. Executable file
SEE ALSO
Commands: mcd(1), mtools(1)
mdir(1)