03-19-2002
autoexec.bat is suppose to be one of Win32 (MS) components. Anyway check cygwin
www.cygwin.com Its a Win32 based Unix variant from RH check it out. You may try on it.
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Hi there, sorry that this is a really dumb question from a UNIX newbie, but here goes.
How do I start MS Windows (I think it is NT) from UNIX?
The school I work for has a network server that has a UNIX shell (I think that is what it is called) and has some form of Windows on it (I think it... (5 Replies)
Discussion started by: gorilla
5 Replies
2. UNIX for Dummies Questions & Answers
i am trying to learn cgi script (perl), i think to do this i need to download a unix system,/acccount, which i have tried to do on XP without success. Can any one point me in the right direction on how i get started.
i.e what do i need to do to actually write cgi script for my website.
cheers... (4 Replies)
Discussion started by: rerkskin
4 Replies
3. Shell Programming and Scripting
Dear ALL!
i have just started learing UNIX.
Can anyone pls let me how to write a program using command line to give product of two numbers /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman;... (1 Reply)
Discussion started by: chature
1 Replies
4. Shell Programming and Scripting
Dear ALL!
i have just started learing UNIX.
Can anyone pls let me how to write a program using command line to give product of two numbers ?
The program should ask like enter first no and so on.
Also,i want to know a program which can display the digits entered in words.
Like if entered "1"... (2 Replies)
Discussion started by: chature
2 Replies
5. Shell Programming and Scripting
I am trying to delete key word starting with x in a unix text file.
example, I am trying to delete the words like xaa,xabxbb,xbd and so on....
my input file is some thing like this
xaaa w 1234 5678
rwsd ravi xw123
xbc3 ohrd
want to delete words xaaa,xw123 and xbc3 from the above... (10 Replies)
Discussion started by: rdhanek
10 Replies
6. UNIX for Advanced & Expert Users
Hi all,
I need to do scrip for printing starting and ending numbers along with count in given file.:wall:
Input: a.txt
10000030
10000029
10000028
10000027
10000026
10000024
10000023
10000021
10000018
10000018
10000017
10000016
10000015
10000014 (2 Replies)
Discussion started by: jackbell2013
2 Replies
7. UNIX for Dummies Questions & Answers
e.g.
File name: File.txt
cat File.txt
Result:
#INBOUND_QUEUE=FAQ1
INBOUND_QUEUE=FAQ2
I want to get the value for one which is not commented out.
Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies
8. UNIX for Advanced & Expert Users
I have been working on my UNIX box for just over 1 month.
The issue I am having, I cannot get my SSH to start on the system.
I have a few rsync programs that are depending on SSH.
Can anyone please let me know how to get SSH started back?
Any assistance will be much appreciated.
Thanks (2 Replies)
Discussion started by: T Long
2 Replies
9. UNIX for Beginners Questions & Answers
Morning All
So, I am starting looking into the world of UNIX for a new job (luckily not my primary function!) and I am looking to get stared. Like anything I seem to learn best by trying things out first in an environment but I have a key question:
Currently I use Oracle VirtualBox, can... (8 Replies)
Discussion started by: GophusMeau
8 Replies
10. UNIX for Beginners Questions & Answers
Morning All
So, I am starting looking into the world of UNIX for a new job (luckily not my primary function!) and I am looking to get stared. Like anything I seem to learn best by trying things out first in an environment but I have a key question:
Currently I use Oracle VirtualBox, can... (1 Reply)
Discussion started by: harveyclayton
1 Replies
LEARN ABOUT CENTOS
file::spec::win32
File::Spec::Win32(3) User Contributed Perl Documentation File::Spec::Win32(3)
NAME
File::Spec::Win32 - methods for Win32 file specs
SYNOPSIS
require File::Spec::Win32; # Done internally by File::Spec if needed
DESCRIPTION
See File::Spec::Unix for a documentation of the methods provided there. This package overrides the implementation of these methods, not the
semantics.
devnull
Returns a string representation of the null device.
tmpdir
Returns a string representation of the first existing directory from the following list:
$ENV{TMPDIR}
$ENV{TEMP}
$ENV{TMP}
SYS:/temp
C:system emp
C:/temp
/tmp
/
The SYS:/temp is preferred in Novell NetWare and the C:system emp for Symbian (the File::Spec::Win32 is used also for those
platforms).
Since Perl 5.8.0, if running under taint mode, and if the environment variables are tainted, they are not used.
case_tolerant
MSWin32 case-tolerance depends on GetVolumeInformation() $ouFsFlags == FS_CASE_SENSITIVE, indicating the case significance when
comparing file specifications. Since XP FS_CASE_SENSITIVE is effectively disabled for the NT subsubsystem. See
http://cygwin.com/ml/cygwin/2007-07/msg00891.html Default: 1
file_name_is_absolute
As of right now, this returns 2 if the path is absolute with a volume, 1 if it's absolute with no volume, 0 otherwise.
catfile
Concatenate one or more directory names and a filename to form a complete path ending with a filename
canonpath
No physical check on the filesystem, but a logical cleanup of a path. On UNIX eliminated successive slashes and successive "/.". On
Win32 makes
dir1dir2dir3....dir4 -> dirdir4 and even
dir1dir2dir3...dir4 -> dirdir4
splitpath
($volume,$directories,$file) = File::Spec->splitpath( $path );
($volume,$directories,$file) = File::Spec->splitpath( $path,
$no_file );
Splits a path into volume, directory, and filename portions. Assumes that the last file is a path unless the path ends in '\', '\.',
'\..' or $no_file is true. On Win32 this means that $no_file true makes this return ( $volume, $path, '' ).
Separators accepted are and /.
Volumes can be drive letters or UNC sharenames (\servershare).
The results can be passed to "catpath" to get back a path equivalent to (usually identical to) the original path.
splitdir
The opposite of catdir().
@dirs = File::Spec->splitdir( $directories );
$directories must be only the directory portion of the path on systems that have the concept of a volume or that have path syntax that
differentiates files from directories.
Unlike just splitting the directories on the separator, leading empty and trailing directory entries can be returned, because these are
significant on some OSs. So,
File::Spec->splitdir( "/a/b/c" );
Yields:
( '', 'a', 'b', '', 'c', '' )
catpath
Takes volume, directory and file portions and returns an entire path. Under Unix, $volume is ignored, and this is just like catfile().
On other OSs, the $volume become significant.
Note For File::Spec::Win32 Maintainers
Novell NetWare inherits its File::Spec behaviour from File::Spec::Win32.
COPYRIGHT
Copyright (c) 2004,2007 by the Perl 5 Porters. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
See File::Spec and File::Spec::Unix. This package overrides the implementation of these methods, not the semantics.
perl v5.16.3 2013-01-16 File::Spec::Win32(3)