08-26-2008
Your question looks like a DOS batch file. It's not clear what it's supposed to do. The essential part is the java line, you can copy that to a file and insert a line above it which contains the text #!/bin/sh -- mark it as executable and go. This hardly counts as porting the DOS batch file but I don't think the other things it does are useful outside of DOS anyway.
It's not like you can post a badly specified problem here and expect somebody to have diagnosed and solved it two hours later. If you don't get an answer, it's usually because (1) your problem domain is unfamiliar to users of this site, (2) your question doesn't make much sense; or (3) your attitude towards the people who come here to help others dissuades them from helping you. Even so, give it a few days.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm very new to unix and for the most part make my way around but I need to know how to create a batch file that can be ran at scheduled time. The main function of the file will be to copy files to different locations then FTP to a different server. Please help. I you have an example that would be... (2 Replies)
Discussion started by: spotanddot
2 Replies
2. IP Networking
my requirment is
i have to call a batch file from a c++ program
that batch file is called with the argument as print.txt
print.txt is a text file which should get printed on printer (any printer) when a batch file call is made
1) how to call a batch file in c++
2) how to print the text... (1 Reply)
Discussion started by: ramneek
1 Replies
3. Programming
what is a command to call a batch file from a c++ program
when called with the argument which is a text file, then how to print that text file on a printer.
please help me with code if possible (3 Replies)
Discussion started by: ramneek
3 Replies
4. UNIX for Advanced & Expert Users
In my dir there are files like
a.xml
b.xml
abnc.xml
12.abc.xml
12.anc.sfoioi.xml
I need to remove .xml from all the files
Is there any direct way without using any for/do loop
Right now i am using
for file in *
do
... (7 Replies)
Discussion started by: reldb
7 Replies
5. UNIX for Dummies Questions & Answers
hi
how can i connect to a telnet session using the unix script...
need to create a batch file which has to run daily.
first it has to telnet to a IP then execute certain commands and log the session.
thanks
Aemu (1 Reply)
Discussion started by: aemunathan
1 Replies
6. Shell Programming and Scripting
Hi
I have to create a windows batch file which will read an input file and remove "double quotes" from each line of the file.
For eg.If input file name is abcd.csv and contents is :
"asasd,123123,213213,asd"
"esfrf,dsfsdf,234324,sdfsdf"
Then the batch file should remove "" from the... (11 Replies)
Discussion started by: akashtcs
11 Replies
7. UNIX for Advanced & Expert Users
Hi all
I am using tru64 Unix and I want a ready batch file which makes me to change all user passwords at the same time ,instead of changing everyone separately.
Please could anyone help me to do that.
bye. (1 Reply)
Discussion started by: ahmedbashir
1 Replies
8. Shell Programming and Scripting
Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below.
I am on a solaris server btw.
Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose.
... (2 Replies)
Discussion started by: goddevil
2 Replies
9. Shell Programming and Scripting
I know this is kindof a noob question, but Im trying to convert a simple batch file to shell, but Im new to shell scripting.
What would the following be in shell script:
setlocal
set OK=N
set CUR_DIR=%~dp0
set CURRENT_TIME=%TIME:~0, 1%%TIME:~1,1%%TIME:~3,2%%TIME:~6,2%%TIME:~9,2%
... (2 Replies)
Discussion started by: scrumx
2 Replies
LEARN ABOUT OSF1
dxmtools
dxmtools(1) General Commands Manual dxmtools(1)
NAME
dxmtools - DOS Tools Graphical User Interface for manipulating files on an MSDOS diskette
SYNOPSIS
/usr/bin/X11/dxmtools
OPTIONS
DESCRIPTION
The DOS Tools application, dxmtools, uses a graphical user interface to copy files to and from an MSDOS formatted diskette to manipulate
files on that diskette, in the same manner as the mtools(1) commands, which are accessed from the command line interface.
The DOS Tools application accepts the standard X11 resource options. For more information, see the X(1X) reference page
Use the DOS Tools application to: Copy a diskette file to Tru64 UNIX Copy Tru64 UNIX files to the diskette Create a directory on the
diskette Delete diskette files Format a diskette Change the diskette volume label Change the archive, read-only, hidden, and system
attribute bits on a diskette file Display the contents of a diskette file Find a diskette file by its name, size, or attribute settings
Rename a diskette file.
MSDOS filenames are optionally composed of a drive letter followed by a colon, optional subdirectories, and a filename. Subdirectory names
can use either the '/' or '' separator. The current working directory relative to the diskette is A:/.
The regular expression pattern matching routines follow the UNIX-style rules. For example, an asterisk (*), in place of asterisks separated
by a dot (.) that is *.*, matches all MSDOS files. The archive, hidden, read-only, and system attribute bits are ignored during pattern
matching.
The DOS Tools application requires a diskette properly installed on the system.
The DOS Tools application addresses a device named /dev/disk/floppy; a symbolic link between the diskette device and /dev/disk/floppy is
required.
Online help is available for the dxmtools application. To get help, click on any Help button or use the Help pull-down menu.
The DOS Tools application can be invoked from:
The CDE Application Manager.
Application Group: Desktop_Apps
Desktop_Apps Subgroup: dxmtools
EXAMPLES
Invoke the DOS Tools application from the command line. /usr/bin/X11/dxmtools Open the DOS Tools help volume from the command line without
running the application. /usr/dt/bin/dthelpview -h /usr/dt/appconfig/help/C/dxmtools.sdl
FILES
DOS Tools executable DOS Tools Help Volume Symbolic link for diskette drive.
SEE ALSO
Commands: ln(1), mattrib(1), mcd(1), mcopy(1), mdel(1), mdir(1), mlabel(1), mmd(1), mrd(1), mread(1), mren(1), mtools(1), mtype(1),
mwrite(1), X(1X)
Diskette interface: fd(7)
Utilities: MAKEDEV(8), mknod(8)
dxmtools(1)