Unzip a file using the command line
I am trying to unzip a file from the command line using java to do the extraction. The following statement works; but the problem is, the extracted files end up on the C drive. How do I specify the folder for the extracted files? C:Program FilesJavajdk1.6.0_24binjar xf c:testTEST_1.zip
Answer Question
| May 3, 2013 7:57 PM
CMD, DOS, Java, script, Windows
I am trying to unzip a file from the command line using java to do the extraction. The following statement works; but the problem is, the extracted files end up on the C drive. How do I specify the folder for the extracted files? C:Program FilesJavajdk1.6.0_24binjar xf c:testTEST_1.zip
can not explore NAS server after reinstalling windows 7
Hi. I have a problem after reinstalling PC with Windows 7 Ultimate, I can’t explore NAS server (Buffalo). But ping in DOS command still works. It happened to 3 PCs. If you have any suggestion would be helpfull for me. Thanks.
Answer Question
| April 13, 2012 9:20 AM
DOS, NAS, Windows 7 Ultimate
Hi. I have a problem after reinstalling PC with Windows 7 Ultimate, I can’t explore NAS server (Buffalo). But ping in DOS command still works. It happened to 3 PCs. If you have any suggestion would be helpfull for me. Thanks.
Batch scripting question: Progress Indicator
Hello all, I write quite a few batch scripts and have never really come across how to display some sort of progress counter for the file. Is there a way to do this or does it depend on the type of script that I am running? Thank you.
Answer Question
| February 28, 2012 4:53 PM
Batch, DOS, Scripting
Hello all, I write quite a few batch scripts and have never really come across how to display some sort of progress counter for the file. Is there a way to do this or does it depend on the type of script that I am running? Thank you.
help-with-mutiple-for-loop-in-a-dos-batch-script-2
Below is a copy of a batch file, GetItemNum.bat, I created to loop through files in a PO directory and output certain data in all the LINEITEM and LINDESC fields. Below is a copy of the PO_FILE I am working with. In the LINEITEM field I want the 12 character data that is in the [...]
Answer Question
| February 28, 2012 2:31 PM
DOS, DOS Batch, DOS program
Below is a copy of a batch file, GetItemNum.bat, I created to loop through files in a PO directory and output certain data in all the LINEITEM and LINDESC fields. Below is a copy of the PO_FILE I am working with. In the LINEITEM field I want the 12 character data that is in the [...]
Help with mutiple For loop in a DOS Batch script
Below is a copy of a batch file, GetItemNum.bat, I created to loop through files in a PO directory and output certain data in all the LINEITEM and LINDESC fields. Below is a copy of the PO_FILE I am working with. In the LINEITEM field I want the 12 character data that is in the [...]
Answer Question
| February 28, 2012 8:04 PM
DOS, DOS Batch, DOS program
Below is a copy of a batch file, GetItemNum.bat, I created to loop through files in a PO directory and output certain data in all the LINEITEM and LINDESC fields. Below is a copy of the PO_FILE I am working with. In the LINEITEM field I want the 12 character data that is in the [...]
Window SC Command
I am using Windows “sc” command line program to query the status of services of a particular software that is installed in Windows 2008 server environment.
Answer Question
| June 9, 2011 3:33 PM
DOS, DOS Batch, DOS program, Windows Server, Windows Server 2008
I am using Windows “sc” command line program to query the status of services of a particular software that is installed in Windows 2008 server environment.
Windows batch script to extract text from pdf
I need to automate the conversion of a pdf file to text format, or extract the text from the pdf file. Is there a Windows batch script that is available to do this, or a good freeware that I can dowload. One that is compatable to run on Windows XP, Vista or Windows server 2008. [...]
Answer Question
| September 26, 2011 7:00 PM
Command line, DOS, Programming Languages, Windows, Windows Batch Files, Windows Server 2008
I need to automate the conversion of a pdf file to text format, or extract the text from the pdf file. Is there a Windows batch script that is available to do this, or a good freeware that I can dowload. One that is compatable to run on Windows XP, Vista or Windows server 2008. [...]
Windows Server 2000′s IP address
From a DOS prompt how can I find out what my Windows Server 2000′s IP address is and how can I verify network connectivity?
Answer Question
| May 2, 2011 2:47 PM
DOS, IP address, Network connectivity, Windows networking, Windows Server 2000
From a DOS prompt how can I find out what my Windows Server 2000′s IP address is and how can I verify network connectivity?
Help with multiple tokens in a DOS batch file
I need some help using multiple tokens in a DOS batch file. This is what I am trying to do;
Answer Question
| March 28, 2011 8:34 PM
DOS, DOS Batch, DOS program, Windows Server 2008, Windows XP
I need some help using multiple tokens in a DOS batch file. This is what I am trying to do;
Network connectivity problem with Windows XP SP2
my network says I am connected but when I browse it will not show anything and it says Done. We have other unit which connected in the same network and it has no problem. If I try to restart my unit, at first I can browse but later on it stop and it will not [...]
Answer Question
| February 16, 2011 5:10 PM
DOS, Local area networks, Windows XP SP2
my network says I am connected but when I browse it will not show anything and it says Done. We have other unit which connected in the same network and it has no problem. If I try to restart my unit, at first I can browse but later on it stop and it will not [...]
How to get print on any Hp printer from Dos mode foxpro software?
I have prepared softwares in dos mode (Foxpro 2.5) and doing well with Dot matrix printers but now the demanad for Deskjet print out is increase and I am unable to provide the same as the commands from Dos mode not supported to print on Deskjet printers… Anybody knowing the solution please tell me How [...]
Answer Question
| February 3, 2012 12:12 PM
DOS, DOS program, FoxPro, HP Printer, HP Printer Problem
I have prepared softwares in dos mode (Foxpro 2.5) and doing well with Dot matrix printers but now the demanad for Deskjet print out is increase and I am unable to provide the same as the commands from Dos mode not supported to print on Deskjet printers… Anybody knowing the solution please tell me How [...]
Free IT Book: Why New Systems Fail
This week’s free IT book is Phil Simon’s Why New Systems Fail: An Insider’s Guide to Successful IT Projects. Simon provides the necessary framework to “minimize the chance of system failure before, during, and after beginning IT projects.” Win this book for some real-world and specific tips, tools and insight. You know the rules: Answer [...]
Answer Question
| November 8, 2010 2:03 PM
DDL, DOS, Exchange 2003, Giveaways, IT answers, IT Books, Leased line, Linux, MPLS, RMAN, RMAN backup
This week’s free IT book is Phil Simon’s Why New Systems Fail: An Insider’s Guide to Successful IT Projects. Simon provides the necessary framework to “minimize the chance of system failure before, during, and after beginning IT projects.” Win this book for some real-world and specific tips, tools and insight. You know the rules: Answer [...]
Remote copy from DOS to Linux
Is it possible to copy folder from Linux to Dos env via dos command. I want to copy folders from Linux os over network when I fire the command from DOS env. Please any one give step by step guide. Don’t tell me to copy from Linux cause it is not possible. I have only [...]
Answer Question
| November 3, 2010 1:16 PM
DOS, DOS program, LAN, Linux, Linux OS
Is it possible to copy folder from Linux to Dos env via dos command. I want to copy folders from Linux os over network when I fire the command from DOS env. Please any one give step by step guide. Don’t tell me to copy from Linux cause it is not possible. I have only [...]
I am writing a batch file that will be run from a DVD to copy some necessary files to a location specified by the user.
I am writing a batch file that will be run from a DVD to copy some necessary files to a location specified by the user. I have used switches to get Yes or No input in the past. How do I get a drive location from the user and then verify that on the current [...]
Answer Question
| November 1, 2010 5:29 PM
Batch, Batch files, DOS, Scripting languages, Windows 7, Windows Batch Files
I am writing a batch file that will be run from a DVD to copy some necessary files to a location specified by the user. I have used switches to get Yes or No input in the past. How do I get a drive location from the user and then verify that on the current [...]
DOS Script Help
I have the below DOS batch that checks the length of every file in the temp folder and display the file name(s) of any file with zero bytes. In addition, if there are no files in the directory the message “No Files in folder” will be displayed.
Answer Question
| October 4, 2010 6:39 PM
Batch files, DOS, DOS Batch, Scripting, Windows XP
I have the below DOS batch that checks the length of every file in the temp folder and display the file name(s) of any file with zero bytes. In addition, if there are no files in the directory the message “No Files in folder” will be displayed.
Operating DOS through excel(VB or macro).
Cheers. I m new to IT.I wish 2 operate DOS through excel. For example , in DOS we write some command and then press enter, then dos displays the information concerned with that command. Is this possible to do this, i.e writing command in DOS and pressing enter jst by writing a programme in excel.Plz [...]
Answer Question
| September 30, 2010 3:04 PM
Access multi-table reports, DOS, DOS program, excel, Excel macros, Visual Basic
Cheers. I m new to IT.I wish 2 operate DOS through excel. For example , in DOS we write some command and then press enter, then dos displays the information concerned with that command. Is this possible to do this, i.e writing command in DOS and pressing enter jst by writing a programme in excel.Plz [...]
Boot failure in Windows 98 operating system
WINDOWS 98 – WILL NOT BOOT. I CAN GET TO C: PROMPT BUT EVEN THAT DOES NOT DO WHAT IT’S SUPPOSED AS FAR AS DOS COMMANDS IS CONCERNED IE CD, LIST, ETC. … HOW CAN I GET THE SYSTEM TO BOOT
Answer Question
| June 18, 2010 3:20 PM
Boot failure, C drive, DOS, Windows 98
WINDOWS 98 – WILL NOT BOOT. I CAN GET TO C: PROMPT BUT EVEN THAT DOES NOT DO WHAT IT’S SUPPOSED AS FAR AS DOS COMMANDS IS CONCERNED IE CD, LIST, ETC. … HOW CAN I GET THE SYSTEM TO BOOT
Dos Printing Problem
Im using a Dos Program in Windows Xp.Im trying to printout staffs from the Dos Program using LPT1 but it doesnt print..Any help regarding this please?
Answer Question
| June 5, 2010 12:17 AM
DOS, dos printing, DOS program, samsung, Windows XP
Im using a Dos Program in Windows Xp.Im trying to printout staffs from the Dos Program using LPT1 but it doesnt print..Any help regarding this please?
MS-DOS code to delete old Files
I am using windows XP and need to write a DOS batch (.bat) file that will delete old files from a directory. This will run on a schedule and will not require human interaction to input any data. My problem is, I am not good at writing batch files. I can do the basic 101 [...]
Answer Question
| April 4, 2012 3:05 PM
Batch files, DOS, Software, Windows, Windows Batch Files
I am using windows XP and need to write a DOS batch (.bat) file that will delete old files from a directory. This will run on a schedule and will not require human interaction to input any data. My problem is, I am not good at writing batch files. I can do the basic 101 [...]
DOS Attact Message or Just a Simple Query”?
I have checked firewall alert message everyday from my organization firewall equipment, and it returns an alert message “anomaly: udp_src_session, 1001 > threshold 1000, repeated 214 times” Starting from 172.10.2.45:51158 to 210.181.1.24:53. I wanna know whether it’s really infected and indicates DOS attack or just simple DNS query. I hope someone can help me. Thanks in advance Jason.
Answer Question
| October 19, 2009 2:22 AM
DNS queries, DOS, DOS Attack
I have checked firewall alert message everyday from my organization firewall equipment, and it returns an alert message “anomaly: udp_src_session, 1001 > threshold 1000, repeated 214 times” Starting from 172.10.2.45:51158 to 210.181.1.24:53. I wanna know whether it’s really infected and indicates DOS attack or just simple DNS query. I hope someone can help me. Thanks in advance Jason.





