Computer Support Forum

Solved: Command line help!!!

Question: Solved: Command line help!!!

I am working through a FBI virus notebook running Windows 7.

Using Kickstart I know which files I need to remove.

The file is "skype.dat" in the App Data\Roaming folder.

When I go into command prompt from the Repair Console the App data folder is hidden.

I'm currently trying the shards attribute but I'm getting alot of "access denied" reports from tmp files. I can't tell if it's endlessly looping or if it has yet to run through the entire folder.

Is there another way to get into this folder? I've done this process several times before but this is the first time I've been unable to access the App Data folder. There isn't a password set for the user.

I remember now that I'm signed on as the user...I've no idea if it's an admin account or not. I'll try to access another account and work at it from that angle.

My question is this: What would the proper DOS command be to make hidden folders visible? Not just visible but also to manipulate them and the files within? Is the -s-h-a-r/d/s the only way?

Relevance 100%
Preferred Solution: Solved: Command line help!!!

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link (This link will automatically start a download of Reimage that you can save to your computer.)

Answer: Solved: Command line help!!!

EDIT: Figured it out. Thanks anyway.

2 more replies
Relevance 70.52%

I want to hide this. I'm running a python progam (if that matters) and it always has that open on my taskbar. I want to hide it. I don't care where it goes or how much time it takes, I just want to hide it. So I never have to deal with it. Maybe make it a system process or something? I don't know.

More replies
Relevance 69.7%

Hello all, what command would I run to set JUST the secondary DNS on clients machine, and nothing else? I appreciate the help! :)

Answer:[SOLVED] What is the command line command to set up secondary DNS?

:) Anyone have any idea? Maybe this can be moved to the 2003 server forum?

3 more replies
Relevance 67.24%

Anybody know the command to copy a disk? Like Linux = cp /dev/sda /dev/sdb , or dd xyz -> xyx

What's the Windows command line syntax for this copy task?

Answer:Command line to clone disk? COMMAND line; NOT 3rd party app.

No. Don't believe that is built in. The latest Windows versions have imaging software built in with a GUI.

Or, DD For Windows

Free system imaging/backup software:

Macrium Reflect (Free)
O&O Disk Image Express
Comodo Time Machine
Clonezilla Live (A bootable CD of Debian with Clonezilla.)
Paragon Backup & Recovery
Drive Image XML
PING (Partimage is not Ghost)
Partition Saving

3 more replies
Relevance 64.78%

i want start a Run a scheduled task via command line like this:


%SystemRoot%\system32\taskschd.msc /Run /TN "RegIdleBackup"
when i run the cmd in the prompt as admin the shedular task GUI pop up but the task not start.

Is there a solution?

Is the problem related to windows 10 ?

Answer:Run a scheduled task via command line via command line

Hi, assuming you want to set up a scheduled registry backup, why not take advantage of this free tool, which also offers various repairs?

4 more replies
Relevance 64.37%

Just built up a new computer. Installed Windows XP Home SP3. Installed fine but couldn't get online. Found out I needed to install the drivers from the motherboard install disk. It installs the drivers but then it has to reboot to finish. When it reboots it goes to a command line promt to make a raid disk. Problem is that I don't have a floppy disk drive in the computer. (Come on, I didn't think ppl even used em anymore.) If I try to take the CD out and run windows, It gets to the XP load up screen then restarts. Unless I run it in safe mode. My question is this:

Is there a command i can use in that prompt to save the Raid Disk info to another drive or port. Like a USB port or External Floppy Drive?

The motherboard is:
ASUS P5N-D LGA 775 NVIDIA nForce 750i SLI ATX Intel Motherboard

I've already tried to call Asus themselves but waited for 27 minutes and an operator answered n said they'd have to call back. sure

Answer:Solved: dos command line

If you installed XP Home and it is working, you don't need a RAID disk... so these probably are not the drivers you need.

You need the chipset, network and audio drivers here:
(skip the drivers for SATA RAID and NVIDIA nForce C55/MCP51 for 64-bit)

3 more replies
Relevance 63.96%

I'm looking for a command line rename utility that will accept a file name and rename it with date information included. I.E.

........................... YYYYMMDDHHMM

YYYY - year
MM - month
DD - day
HH - hour
MM - minute

This utility has to run from a command file, not a GUI.

Answer:Solved: Command Line Rename

7 more replies
Relevance 63.96%

I'd like to send a command to a program installed on my XP machine. I already have the command: /cursor='no'

... but I'm not sure how to structure the complete command line to the appropriate program. Could someone give me an example of a command directed to a program installed in C:\Program files?


Answer:Solved: Help Writing a Command Line

6 more replies
Relevance 63.96%

Would I be able to run a program the is located in the following location?

C:\Program Files\2BrightSparks\SyncBack\SyncBack.exe

I tried typing "start C:\Program Files\2BrightSparks\SyncBack\SyncBack.exe" without the quotes.

and that didn't work so I assume I can't but I am not sure. I don't know if I typed the syntax wrong or if it is not possible at all. Can someone please verify this for me?


Answer:Solved: Command line question

8 more replies
Relevance 63.96%

Hi, I wanted to be able to induce the screensaver on my monitor when I was finished working.

So, I followed the instructions on this link:

How can I turn off the monitor (i.e., "put it to - Microsoft Answers


Create a shortcut and enter the following in the Location box.
POWERCFG -Change -monitor-timeout-ac 1
Name the shortcut whatever you wish. Double clicking the shortcut will cause the monitor to sleep in one minute.
You can create another shortcut when you want to use the system for an extended period.
POWERCFG -Change -monitor-timeout-ac 300
This will set the timeout to a 5 hour delay.

EXCEPT that the second part of the instruction doesn't work i.e. the monitor is permanently set to timeout in 1 min.

Obviously, I'm trying to stop this but I can't figure how to turn off this command. When I go to the file location, it just takes me to the C:\Windows\System32 Power Settings Command-Line Tool. Obviously I don't want to delete that but I want to delete the command causing the monitor to turn off in 1 min.

Answer:[SOLVED] Command line problem

I tried that - it didn't work. Like in the thread I posted, the first CMD worked but the longer timeout CMD didn't.

19 more replies
Relevance 63.96%

Okay, so I found a nifty batch program that run through and converted all my m4a audio files to mp3 so that Windows Media Player would quit being so fussy on my laptop. (I share my music library and only keep iTunes on one computer since its so finicky.) After converting the files I realized the problem I had just created for myself. Now I have roughly 2000 duplicate songs in iTunes on my desktop that are syncing over and giving me roughly 2000 duplicates on my iPod. In iTunes I couldn't find a way to list the file names when displaying duplicates so my next option was to let windows solve yet another problem for me. I played around and was able to print my entire directory architecture and file listings for my music folder by running this command.

dir /s "D:\Snail Music\" > Music files.txt

Worked perfect, but what I'm hoping to do is to add in some kind of *.m4a flag to list only the files that are .m4a into a file. Can someone help me with this? Maybe even a vbs script idea that would work. If you have idea and can give me the basic thought process I can probably google my way through building a batch or vbs. Although if someone knows how to make the dir command list all my .m4a files I'll stick with that.

Thanks ahead of time.

Answer:Solved: Command Line / Batch

dir /s "D:\Snail Music\*.m4a" > Music files.txt

2 more replies
Relevance 63.96%

I am trying to follow this:
"In your Windows box, type ?regedit? in the command-line and export the whole ?HKEY_LOCAL_MACHINE/Software/Adobe/? to ?adobe.reg?."
found here

How do I export to a .reg file via command prompt?


Answer:[SOLVED] Vista Command Line .reg help says like this in that page you stated:

In your Windows box, type ?regedit? in the command-line and export the whole ?HKEY_LOCAL_MACHINE/Software/Adobe/? to ?adobe.reg?.

is that what you did?actually the correct steps to do is should be like this:

In your RUN box (for XP) or in your search box (Vista), type in REGEDIT, and then press Enter. After you get the new windows which is Registry Editor, scroll to the HKEY_LOCAL_MACHINE/Software/Adobe/ by clicking on + sign. Then right click on the string HKEY_LOCAL_MACHINE/Software/Adobe/ and click on Export. Then save the string in one of your favourable folders

Hope this helps

2 more replies
Relevance 63.14%

I'm not sure if I have the name right, but, basically; the little blinking line that shows up when you're typing something, right? AKA, when you're writing up a response to this, it will be there just ahead of your text.

Anyways! This thing won't go away on my Firefox, no matter where I click. For instance, if I click off to the side of this type box, the line blinks off to the right of the resize button. If I click up near the top of the page, it'll be somewhere up there, depending on where I click, usually next to a link or something. If I click in the middle of any text on a webpage, say a blog or what have you, the little line is right there, blinking merrily away.

So it's not a huge problem, but it's irking the hell out of me. My sister brought her kids over while I was at work, and I'm assuming they got a hold of my keyboard or something, since it wasn't happening before now.

Anyways, anybody have an idea of how I might stop this little nuisance?

Answer:[SOLVED] Command Prompt Line always showing

It's called caret browsing and can be toggled on/off with the F7 key.

The kids might have hit the key by mistake, but it usually brings up a popup box asking you to confirm the change.

2 more replies
Relevance 63.14%

Hello Everyone!
I'm a first time poster! My current project is making a batch file that will compress a folder / drive, password protect it. I then I will include my Nero batch info and burn it to DVD so that it is password protected. I'm having issues with the Winrar batch part. I have it listed below
"C:\Program Files\WinRAR\rar.exe" a -m5 -e -pTest c:\test\ c:\

However it doesn't copy anything. Can someone please help me out if my flags are incorrect or syntax is incorrect.

Thanks in advanced,

Answer:Solved: WinRar Command Line Question

6 more replies
Relevance 63.14%

Hi all, i use this script for compress all bak files into the backup folder in separated files with 7zip.
for %%I in (*.bak) do 7z a "%%~nI.7z" "%%I"

The thing i have to add here is when finish compressing each file deletes the source .bak file, is this posible?

Thanks a LOT!!!! & Thanks TheOutcast for the original code from here !!!!


Answer:Solved: Help With Command Line Batch Script

14 more replies
Relevance 63.14%

So, I need to store the output from a command in an environment variable. The problem is, I need to do this in a command window. The command is "hostname".

On Unix, this is easy since I can use a command similar to this:

$ set myhost=`hostname`
$ export myhost

I can put those commands in a script or "stack" them with a double ampersand. In any event, I'm looking to do something like this on Windows XP.

I can run the "hostname" command and it outputs the system's hostname to the screen. I can redirect that to a file or whatever but I can't seem to get it passed to a batch file or something I can use to set it in the environment.

The COMPUTERNAME environment variable won't work for me because in this case the hostname of the machine will be different from the COMPUTERNAME.

Any ideas?



Answer:Solved: Help needed with a command line issue on XP


C:\>hostname > myhost.txt

C:\>type myhost.txt

C:\>set /p myhost=<myhost.txt

C:\>echo %myhost%



2 more replies
Relevance 63.14%

Is there a way to look for a string in the registry from the command line and put it into a text file? Thanks!

Answer:Solved: Grep Registry from command line

Welcome to TSG!

If you know the key and value name it's easy. You can use reg.exe to query the registry.
reg /?
reg query /?
should get you started.

If you don't know the exact value name, you can list all the values under a key and pipe to find or findstr to find value names that contain a substring

You can use reg or regedit to export to a file and search the file for a particular item as well.

1 more replies
Relevance 63.14%

I want to run a chkdsk c: /f /r /x from a command prompt but NOT have it ask if I want to run it at next reboot. I just want it to run without a y/n input. Is there any such way to do this?

Answer:Solved: Run chkdsk.exe via command line without getting yes or no prompt?

No way. It can only fix errors when the OS is not running.

2 more replies
Relevance 63.14%

I've got a very specific task in mind: I'm creating a CD full of mp3's which will play on my portable cd player. BUT: for it to 'see' the mp3s, all the file names have to be preceded by 3 digit track numbers, i.e. 001, 002, NOT 1, 2, or 01, 02.
Rather than re-label 'em all by hand, I'd like to use the rename utility. The only problem is that the rename utility doesn't 'add' the zeroes in front, it 'overlays' the zeroes over the existing label, so I get a bunch of files all numbered '00'.

Simplified Example: I've got a list of ten cuts in the album "Call Me A Cab":
0 - call me adam
1 - call me betty
2 - call me carl
3 - call me david
4 - call me edna
5 - call me fergus
6 - call me gary
7 - call me henrietta
8 - call me ian
9 - call me jane
10 - call me kerry

I position myself in the command window and issue the command:
ren *.* 0*.*

I would think that the interpretation of that command would be take every file in the directory, and place a '0' in front of it. But when I execute the instruction and look at my directory I have:

0 - call me adam
0 - call me betty
0 - call me carl
0 - call me david
0 - call me edna
0 - call me fergus
0 - call me gary
0 - call me henrietta
0 - call me ian
0 - call me jane
00 - call me kerry

The instruction didn't 'add' the leading zero, it replaced the first filename character with the leading zero (It has nothing to do with it being a... Read more

Answer:Solved: Trying to use command line to rename many files at once.

10 more replies
Relevance 63.14%

I do a ton of batch scripting and I was hoping there is something that I can do for this. I have over a bunch of Jetdirects that we have to configure. I currently have an empty ethernet port that I use to configure the one or 2 I need to.

The jetdirects always have a default port of

Standardly from my PC I'll do a route add 192.168.X.X (the IP of my computer) Then I'll do a Telenet and I will make the changes.

The big thing is the only thing that will change on each print server will be IP and gateway all other fields will be exactly the same on each jet direct (some default some configured by us). I.E. IPX/SPX turned off.

What I need to know is if Windows Telnet command allows for any type of telnet scripting.

I would love to be able to dump all of this onto a script. I was thinking something that would add the route that would then make the changes per whats on the script then add the new route to the newly created IP and then lastly ping that newly created IP to ensure the device has basic network connectivity.

Anyone with any thoughts? And don't say Web jetadmin cause that takes me longer to use than telnet.

Answer:Solved: Command line telnet scripts?

Just an FYI I found a GREAT program that allows you to batch telnet within windows.

Telnet Scripting Tool V1.0 - Also known as TST10.exe it works wonders all you do is type up a combination of wait and sends in a text file to accomplish your programming.

wait ">" ------------- Waits for the >
send "/\m" ------------- Sends / (\M is a carridge return (or enter))
wait ">" ------------- Waits for the >
send "banner:1\m" ------------- Sends banner:1 (\M is a carridge return (or enter))

Hopefully this will help someone else looking to batch up a telnet session.

1 more replies
Relevance 63.14%

Hello everyone, this is my first post, and my apologies if it is a common and or difficult problem to solve.

Basicaly, i have installed WinUtilities. Windows wont let me open it because of a DPE warning. I have gone to the DPE settings (ie. Right click my computer - properties - data protection execution) to find it is all greyed out and unable to change anything. It says that i need to be administrator - I AM ADMINISTRATOR!!!

I have gone to the command line and typed 'C:\WINDOWS\System32>bcdedit.exe /set {current} nx AlwaysOff' with no luck.

What else can i do??

I am stuck and i need help asap!!


Answer:Solved: DPE Greyed out and command line not working!!

Welcome to TechSupportGuy.

I presume you mean DEP Data Execution Prevention
What please is all greyed out. See my screenshot.

Secondly WinUtilities for the most part, simply provides a method of carrying out simple maintenance functions that are already provided with Windows. HOWEVER it also includes a registry cleaner which is in itself ample reason NOT to have the program on your computer.
NEVER use a registry cleaner. As to why, please see the link in my signature notes.

Also please confirm that you are posting regarding the computer in your ComputerSpecs.
The reason I ask is. This is how to turn off DEP in XP
NOTE - not recommended
Total or Disabling DEP on XP (Not recommended)
Right click on "My Computer"
Select "Properties" and "Advanced"
Under "Startup and Recovery, click Settings
Now click on "Edit"
The notepad has just begun. Simply replace the line:

noexecute opt in by AlwaysOff
Restart your PC to complete the transaction.
If you want to reactivate the DEP be sufficient to conduct the reverse, like this:
Replace by Quote:
AlwaysOff noexecute = noexecute = optin

AND this is how to do it in VISTA
Total Disabling DEP on Vista (Not recommended)
NB: You must open a CMD window as an administrator, like this:
Navigate to "All Programs" and "Accessories"
Right-click on the icon "Command Prompt"
Click "Properties" tab and in the "Shortcuts" where you normal... Read more

3 more replies
Relevance 63.14%

I just installed a new brother MFC-9840CDW printer and when i try to scan to email (Outlook 2003) it tells me, "The command line argument is not valid. Verify the switch you are using." Any suggestions? I did download a hotfix from microsoft but that did not fix the problem

Answer:Solved: The command line argument is not valid?

Does it support Outlook? Is Outlook your default mail handler?

2 more replies
Relevance 63.14%

HI guys how can you do system restore when you cannot get the O/S to boot up in the first place. Can you do it from command line?? If so what are the steps?? Any help will be of great interest.

Answer:Solved: XP system Restore from Command Line

6 more replies
Relevance 63.14%

I am trying to close a window on my Win2000 Ser using a batch file. I cannot find a way to shutdown the SQL Remote (I have Adaptive Server Anywhere 7 ver. SyBase told us to make the application a service but for one reason or another we cannot in this instance. Does anyone know how I can shut down this app. ether through SyBase or through Windows?

Answer:(Solved) Closing a window with a command line

Howdy Bookworm69...

If it is running as a process you can use tskill, to end it in a batch...

You will need the W2K resource kit for the file tskill.exe...

3 more replies
Relevance 62.32%

Hi Everyone,

Am in need of some help with command line service starting.

I know that you use "NET START "Service Name".

But I have a service that requires a different set of Log on to information and every time I reboot the server it loses them.

I am looking at making a bat file to start the services automatically and I was wondering if there is a way to set the password for a service within the command line that way I would only need to click on a bat file.

Thanks for any help you can give...

Answer:Solved: Command Line - Start Service with password

i Don't understand What You Mean By password ..

>> that way I would only need to click on a bat file.
You Just Double CLick On A Batch File And It Should Run



net stop "Sc1"
ping -n 5 localhost &: wait 5 seconds
net start "sc1"

3 more replies
Relevance 62.32%

Hi All,

Trying to set up some scripts to automate a few processes.

I need to be able to delete the contents of a folder/s including subfolders BUT not to delete the top folder itself.

Looking to find the find the command line code for this.

If anyone has any ideas that would awesom!

Thanks in advance.


Answer:Solved: Delete Contents of folder using command line

10 more replies
Relevance 62.32%

I'm trying to install AutoExNT on Windows XP. I got it from the Windows 2003 resource kit thingy. I'd installed and tested it on my system, and it did what I wanted. I'd installed it from the GUI.

Since then, I've had to do a reinstall of Windows XP, so now this is a fresh installation. I realized that it's much more convienent to reinstall the thing from the command line, so I'm attempting to do so. It's truthfully not the bare command line, but a batch file. The problem is I can't seem to get it right after several reboots. I'm hoping it's a simple error somewhere, but I'm posting it here to save several days more of continous reboots with no success until by trial and error I figure it out.

Not including irealivant code, such as my setup code to install the setup programs, I'll post my code. I've got 2 files. One to install the program, and one to uninstall the program. The uninstallation program seems to be working fine. It's the installation program I'm having trouble with.



ECHO Deleting standard autoexnt_startup script...
sc stop AutoExNT > NUL
IF EXIST %systemroot%\system32\autoexnt.bat DEL %systemroot%\system32\autoexnt.bat > NUL
IF EXIST %systemroot%\system32\autoexnt.exe DEL %systemroot%\system32\servmess.dll > NUL
IF EXIST %systemroot%\system32\autoexnt.exe DEL %systemroot%\system32\autoexnt.exe > NUL
instexnt remove > NUL

... Read more

Answer:Solved: How do you install and configure AutoExNT from the command line?

13 more replies
Relevance 62.32%


i would like to transfer a folder in My Documents to another computers Desktop at work in the same subnet.

My computer name is WKS10 and the other computer name is WKS15.
The folder is named XLSDOCS.

WinXP Pro

Just trying to figure out the command line way of doing this thanks!

Answer:Solved: how to transfer files in same subnet with win command line help

well, from what I know, if the desktop is shared, you may be able to do copy (full path name and file name) \\computername\shared folder.

For example: copy c:\XLSDOCS\ \\WKS15\DESKTOP

note I have not done this in command line. I would suggest making a shortcut to a shared folder instead so you can drag and drop.

3 more replies
Relevance 62.32%

What is that commandline word so I can see what is in my startup list? I have forgotten.

Answer:Solved: Command line word to see my startup list?

Hi jVirus

Are you referring to: msconfig ?

2 more replies
Relevance 62.32%

I have a command line batch file that I have used for over a year to map drives between Windows 2000 Machines. It has always worked flawlessly. I have now put Windows XP home on one of my machines and the batch file no longer works when mapping drives to the XP machine.

Here are the lines that worked until I put an XP Home system in its place:
if not exist S:\*.* net use S: \\Office2\C /Persistent:no
if not exist T:\AC\*.* net use T: \\Office2\D /Persistent:no
if not exist U:\Original\*.* net use U: \\Office2\E /Persistent:no
More Info:
When browsing the network with Windows Explorer, I can access all the drives on the XP machine.
When browsing the XP's E drive in Windows Explorer, the network path that shows in the address bar is:
\\Office2\Office2 (E)
The error message I get is
System error 67 has occurred
Anyone have any ideas on how I can again map drives using the command line?

Answer:[SOLVED] Mapping drives from command line in 2000 to XP?

16 more replies
Relevance 62.32%

I running Outlook 2003 and when I open an e-mail and click on a hyoerlink I get this message - Command Line Option Syntax Error. Type Command /? for help.

Not sure what this means or what to do to fix so that the hyperlink will open.

Thanks for any help.

Answer:Solved: Outlook Command Line Syntax Error

I found this microsoft article and did a repair to the Urlmon.dll file and the hyperlink now works.

1 more replies
Relevance 61.91%

Operating system XP

This has been a strange error to track down, it started when a few programs would no longer run (outlook, open office, etc..) They would all suggest that a command line argument was incorrect. No matter how the program was run (shortcut, directly, run program box) it would still fail.

I ended up throwing a few lines of VB code together to display any command line arguments that may be passed to it; when I run my program I see it is sent a single quote "

This is the same if i double click the file in explorer or type the program name in the run box.

Every single program that is opened is passed a single quote as a command line argument!!! Same in safe mode, even tried a system restore to a date before this problem with no luck.

no idea where to start looking so please, any suggestions

- Andy

Answer:Solved: command line argument added to EVERY program opened

Since System Restore had no effect, the standard EXE fix may not help either, but worth a try. #12 at:

Start, Run, Msconfig, Startup. Can you identify all the entries? Google the names, if unsure.

Have you installed any programs lately? Or updates?

What is the 'exact' wording of the error message?

3 more replies
Relevance 61.91%

Hi guys,

I need to compile a list of the contents of two external hard disk drives, which is estimated to be about 3000 or so folders. what is the command I should use to make Windows automatically generate a txt?

Item is worth noting that in this directory there are also a mix of different filetypes, what I need are only the names of folders AND files in the root directory.

For examplary purposes, let the drive be called D:\, a folder in the root called \FOLD and a file in the root \BILL.doc.


Answer:[SOLVED] Command Line: List files and folders in a directory?

Hello Bill!

So you don't want to recurse, or you do?

Will dir E:\ do the trick, or not, and why? You could then pipe it dir E:\ > %userprofile%\Desktop\test.txt

Otherwise, look at OTL:

Click the NONE button, paste this in, and click RUN SCAN:


If you want recursion, you need to use /FP.

Good luck!


6 more replies
Relevance 61.91%


When I go to Start-Run-cmd-ok the resulant screen shows:

C:\Documents and Settings\Owner

and I don't know how to delete this line so that I can enter the command that I want to run (driverquery).
I'm hoping that there is a simple solution. I obviously am not too experienced in using the command prompt.
Any help would be greatly appreciated.
Thank you.

Joe Sixties

Answer:Solved: Command line cmd frozen on Documents and Settings\Owner

12 more replies
Relevance 61.91%

Hello.. is there a command line command that will show me all the pc names in my subnet in list form...


command line command

workstation3 etc.. etc...
and their ip addresses?

if so, that would be so cool.

thanks for any info.

Answer:Solved: command line trick to see all pc names/ip's in a subnet? Admin Help

12 more replies
Relevance 61.09%

I want to create a shortcut to run Excel from the command line and in that command or batch be able to run a macro from the workbook in my XLSTART folder. This way, the user does not have to run the macro from Excel menus.

I also want to create a shortcut to run Word from the command line or batch to run a macro (a global macro) when Word opens. Again, the user does not have to get inside Word to select a macro from the menus.

I have searched the internet and found that neither program has command line switches to immediately run a macro at the Office program start up.


Answer:Solved: Run Excel and Word Macros From Command Line Office 2007

9 more replies
Relevance 61.09%

Manually Export individual registry keys or a specified bunch of Reg Keys by command line or a batch file or any other way that doesnt involve opening regedit and moving to the specified key and manually exporting it....

Even if it needs the use of some softwares, it would do..

Answer:[SOLVED] Manually Export individual registry keys from command line or any other way?

You can use regedit from the command line
Regedit /E filename.reg [key to export]
If you don't specify a key, the entire registry is exported
Regedit /E "%userprofile%\Desktop\Batfile.reg" hkey_classes_root\batfile
Will export the HKCR\Batfile key to a file named batfile.reg on your desktop.
You can't use the short version for the key name, it has to be spelled out, so HKCR can't be used in the above example.

Or you can use reg.exe commands to add, deleted, query, or export keys.

6 more replies
Relevance 60.68%

Somehow the line that you put web sites -- after the http --has disappeared. I'm sure that there's a simple way to get it back but I'm new to WIN XP. Can someone help.

Answer:Lost command line -- line with site addresses WinXP

I think you are talking about the address bar in a web browser???

You did not mention what browser you are using. For Internet Explorer 6, right click in any other visible menu bar and then make sure that "Address Bar" is checked in the box that pops up. This may work for other versions of Internet Explorer.

3 more replies
Relevance 60.27%


I'm trying to split a .flv file by using flvparse, which is a Windows-only, command-line interface tool. I did get through to the directory by following instructions posted on another forum, however, command prompt doesn't seem to recognize the the .exe file. I'm an absolute novice at this, any help would be really appreciated!

Attaching a CP s/s, and here are the instructions I'm trying to follow (copy pasted from the forum)


For trimming the beginning and/or ending of videos, you can use FLVParser ( ).
FLVParser is a Windows-only, command-line interface tool. After you unzip it, move its folder to C:\ for ease of use. Also for ease of use, copy/move the .flv file you wish to edit into the FLVParse folder.
To make edits, you need to know the in and out points where you want the edits. Use FLVPlayer to find these points. FLVPLayer only lists times in total number of seconds, not HH:MM:SS, but don't worry, FLVParser can handle that. In the FLVParse directory create a new blank text file called: CuePointFile.dat
This is the file FLVParser uses to edit from. Open it in NotePad, and enter the in point and out point, separated by a single blank space, like so: 2525 5150
Save, and close the file. Open up the command line interface and go to the FLVParse directory: cd C:\FLVParse
In the command line, enter this to edit the flv:
flvparse.exe FileToSplit.flv CuePointFile.dat
Your file will be split into ... Read more

Answer:Command Prompt doesnt seem to recognize the command line!!

You are using the basic cmd, try in elevated mode
Elevated Command Prompt - Windows 7 Forums

However looking at you screen shot, you may have to check the command over carefully. There does appear to be an error in the command. With my eyes, it is difficult at times to pick out the subtle shades of difference.

1 more replies
Relevance 60.27%

Hi everyone, what is the commmand for command prompt to stop a process? What i would like to do is make a shortcut to stop the KBD.exe process. The reason for that is when someone in my family puts a disk in, plays a game, and sometimes when they take the disk out it complains about there being no disk in the drive. The only way to shut it up is to end the process in the task manager and click cancel on the window. This way is a little to complicated for some of the memebers of my family and i would like to be able to just create a shortcut for it.

Answer:Whats the command line command to stop a process?


Originally Posted by djw2009913

Hi everyone, what is the commmand for command prompt to stop a process? What i would like to do is make a shortcut to stop the KBD.exe process. The reason for that is when someone in my family puts a disk in, plays a game, and sometimes when they take the disk out it complains about there being no disk in the drive. The only way to shut it up is to end the process in the task manager and click cancel on the window. This way is a little to complicated for some of the memebers of my family and i would like to be able to just create a shortcut for it.

Click on Start, then run
type in cmd to get to command prompt
type in taskkill /f kbd.exe

The forward slash /f forces it to kill the process.
Here is link for some examples

2 more replies
Relevance 59.04%

I have created a manuals package. The package has a main file that everything else is linked to. I can create a self extracting exe program from pkzip application. What I don't know how to do is have the program create a shortcut to the main file from this program. If it is not possible to do this with pkzip then what application will do this.i.e. I want to have something say "Would you like to create a shortcut to Manuals or your desktop?" in the or any file extraction application.Thank youRJT

Answer:How to create self extracting command line command

You can create a WinScript file (.vbs extension)Example:set WshShell = WScript.CreateObject("WScript.Shell")         strDesktop = WshShell.SpecialFolders("Desktop")         set oShellLink = WshShell.CreateShortcut(strDesktop & "\Shortcut Script.lnk")         oShellLink.TargetPath = WScript.ScriptFullName         oShellLink.WindowStyle = 1         oShellLink.Hotkey = "CTRL+SHIFT+F"         oShellLink.IconLocation = "notepad.exe, 0"         oShellLink.Description = "Shortcut Script"         oShellLink.WorkingDirectory = strDesktop         oShellLink.SaveYou'll have to change the parameters for your own situation. Good Luck!

2 more replies
Relevance 59.04%

If I use the power icon and thenclick sleep my backup software will wake up my computer and backup run myschedule.
If I use any of the followingcommand lines, the software cannot wake my computer, I have ran ?powercfg/h /off? at C:\windows\system32 in Powershell as administrator
Does anyone know of a bettercommand to put the computer to sleep?
%windir%\System32\rundll32.exepowrprof.dll,SetSuspendState Standby
%windir%\System32\rundll32.exepowrprof.dll, SetSuspendState Standby
C:\Windows\System32\rundll32.exePowrprof.dll,SetSuspendState Sleep 0,1,0
C:\Windows\System32\rundll32.exe Powrprof.dll, SetSuspendStateSleep 0,1,0
Doyou know of a better command to put the computer to sleep

I downloaded psshutdown
C:\Windows\psshutdown.exe -d -t xx xx= number of sec till sleep

Answer:Win 10 home 64 bit command line Sleep command

JimO said:

If I use the power icon and thenclick sleep my backup software will wake up my computer and backup run myschedule.
If I use any of the followingcommand lines, the software cannot wake my computer, I have ran?powercfg/h /off? at C:\windows\system32 in Powershell as administrator
Does anyone know of a bettercommand to put the computer to sleep?
%windir%\System32\rundll32.exepowrprof.dll,SetSuspendState Standby
%windir%\System32\rundll32.exepowrprof.dll, SetSuspendState Standby
C:\Windows\System32\rundll32.exePowrprof.dll,SetSuspendState Sleep 0,1,0
C:\Windows\System32\rundll32.exe Powrprof.dll, SetSuspendStateSleep 0,1,0
Doyou know of a better command to put the computer to sleep

The first one simply turns Hibernation off, disables Fast Startup, and deletes the system file hiberfil.sys. I'm not aware of connection with Sleep or waking up on a trigger. I have these settings, as stated, on my machine, and I can still put it to sleep and wake it up. I'm not familiar with the last four at all, although sleep states are usually (I think) set in the BIOS. Whatever is set there is available in the OS. S0-S4, I think. Maybe S5.

A little more info here: NO Hibernation just SLEEP

Also, you might want to check your advanced power plan settings to see if you have enabled wake timers.

1 more replies
Relevance 56.99%

I want to create a setup whereas a command line command can be run from any directory/folder, without having to be in the directory/folder whereas the command line command resides ?

Answer:Executing command line command anywhere ?

Add the directory the cmd or bat files resides in to the PATH environment variable.

To check or modify the system PATH environment variable, do the following:

XP: Right clock on My Computer
Vista, 7: Right click on Computer
Windows 8, 10: Right click on This PC

Select Properties

Vista, 7, 8, 10: Click on Advanced System Properties on the left

On the Advanced tab, click on Environment Variables
Under System Variables, scroll down to Path
Select it then click Edit

An easy way to look at all of it is to right click on the highlighted Variable Value field and select copy, then start Notepad and paste the data into there. That way you can easily look at all of it.

It's also a lot easier to make changes in Notepad then copy and paste the changed data back into the Path Variable Value field.

Click Ok as needed to exit when done

4 more replies
Relevance 56.99%

I came across this (hopefully) helpful article about command line basics.

Speaking UNIX: Command the power of the command line

Learn the basics of the UNIX shell and discover how you can use the command line to combine a finite set of UNIX utilities into data transforms.

Answer:Command the power of the command line

Good stuff, but then there's something wrong with his verbatim copy of a directory... You should add the p option to the tar extraction command, in order to preserve file attributes (ctime, mtime, atime, owner, group) - ie, tar xpvf and not tar xvf.

I use this regularly in order to make verbatim copies of a directory:

(cd /path/to/src/dir && tar cf - .)|(cd /path/to/dst/dir && tar xpvf -)

3 more replies
Relevance 56.99%

I need some help, but probably don't have a full grasp on the problem, so don't really know how to ask for help. I will describe what I have and hopefully, it will help to describe what I want to accomplish.

I have a Linksys router with DD-WRT installed. I am able to SSH/Telnet into the router. I would like to be able to reboot or shutdown my computer remotely from the command line during a Putty/SSH session.

Here is how I make the session connection: In Putty, I enter
the static IP address and port (default is 22) under "Session".
Under "SSH > Tunnels" I enter the "source port" (again, 22)
and "Destination" (ex -, then hit "Add", then "Open"

This opens a command line, where I enter "user" and "pwd"
(the defaults are root and admin). I am now connected to my
router and I can use Remote Desktop to get control over my
remote computer (using XP Pro).

My question is: While at the command prompt, is there a
command to reboot or shutdown my remote computer? Is there a list
of other commands that are available here?

BTW, at the command prompt, I can start my remote computer (Wake on LAN) by typing the following command:
/usr/sbin/wol -i MA:CAD:RE:SS:44
(where the last portion is the MAC address)

More replies
Relevance 56.99%

I came across this (hopefully) helpful article about command line basics.

Speaking UNIX: Command the power of the command line

Learn the basics of the UNIX shell and discover how you can use the command line to combine a finite set of UNIX utilities into data transforms.

Answer:Command the power of the command line

Good stuff, but then there's something wrong with his verbatim copy of a directory... You should add the p option to the tar extraction command, in order to preserve file attributes (ctime, mtime, atime, owner, group) - ie, tar xpvf and not tar xvf.

I use this regularly in order to make verbatim copies of a directory:

(cd /path/to/src/dir && tar cf - .)|(cd /path/to/dst/dir && tar xpvf -)

3 more replies
Relevance 52.48%
Question: Run Command Line

Anybody know the Run command to show ip address' etc on a XP and Vista machine. Cheers all

Answer:Run Command Line

I know that you start with cmd

2 more replies
Relevance 52.48%
Question: command line

Dear TS,

Currently I am working in access, fine tuning a little database.
In this little proggie I have made a button that directly links to a .bat-file that does nothing but open the folder H:/foto (Dutch)

In that folder are several kinds of criminal offenses.

It works like this for the user:

They click the photo-button, the folder opens and they will find by manual search the picture corresponding to the crime report. the pictures in that folder are ordered in sub-categories for a clear view.

What I'd d like to achieve is that the security-officials ONLY type something like "stepped on no-stepping-on-grass-sign" in a text bar and that they then click the photo-button and the H:/foto/stepped on no-stepping-on-grass-sign folder opens.

I know the idea of typing (part of a) directory and then press a button is just as lame as just viewing a folder that has only 25 sub folders anyway, but it's just what the security-officials want...

Thank you very much for your attention and help,


Meneer Geerts.

Answer:command line

I have an idea...don't know if it would work. Make a table in access; query to search the table on the partial name; attribute in the table is the full directory name or even the entire command line string. Put this on a macro that sends the result of the query to the command line?

2 more replies
Relevance 52.48%

Ok short version first

I need to find a way to put the output of one program into the command line of another.

Dates.exe -> 6-3-2005
Zip *.html
output into
is basicly what I want to do

If that doesn't make sence heres the long version

I have a stat program that generates html files, now in order to sort them I want to use the date as a filename for the zip file. So I have a date program that outputs the right format and a command line archive utility(zip program). .... MY Problem is I can't figure out how to set a variable from a txt file or output of the Date program, or use the output of the Date program in the command line of the zip program.

If anyonw can help please do.

Answer:Need some command line help


4 more replies
Relevance 52.48%
Question: command-line log?

does win xp by default keep a log of command line commands executed?

i'm looking for a list of commands executed during the current windows session, but not the current session (i.e. I closed the command prompt window, but haven't logged out)

also: does win xp keep a log of ftp transfers done by the built-in ftp command line utility?

Thanks much!


Answer:command-line log?

No log, usually. You would need something like 4NT or PowerCmd to log command actions.

1 more replies
Relevance 52.48%
Question: command line

is it possible to creat an admin account through a non admin account via command line?


Answer:command line

Not without admin rights, no.

3 more replies
Relevance 52.48%
Question: Command Line

Is there a cmd.exe /switch for ?run as administrator? ?


Answer:Command Line

Quote: Originally Posted by win7clutz

Is there a cmd.exe /switch for ?run as administrator? ?


Not that I'm aware of, but if you click the start orb, type "cmd" (without quotes) then right-click "cmd.exe" in the search results, you can then select "Run as Administrator" (but you already knew that...)

Here is a part of the switches available to CMD.EXE (You can get more by opening a command line window, then type "CMD /?" (without quotes) and pressing <ENTER>:

C:\Users\Peter Dzomlija>cmd /?
Starts a new instance of the Windows command interpreter
CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF]
[[/S] [/C | /K] string]
/C Carries out the command specified by string and then terminates
/K Carries out the command specified by string but remains
/S Modifies the treatment of string after /C or /K (see below)
/Q Turns echo off
/D Disable execution of AutoRun commands from registry (see below)
/A Causes the output of internal commands to a pipe or file to be ANSI
/U Causes the output of internal commands to a pipe or file to be
/T:fg Sets the foreground/background colors (see COLOR /? for more info)
/E:ON Enable command extensions (see below)
/E:OFF Disable command extensions (see below)
/F:ON Enable file and directory name completion characters (see below)
/F:OFF Disable file and... Read more

4 more replies
Relevance 52.48%

Not sure if this is the right place to post this but I wanted to ask a tricky question.

I want to be able to access another PC via telnet (this I can do easily via RADMIN software) which gives the the CMD prompt access.

I then want to be able to launch a Sound file (or similiar) so that the user on the other end just hears whatever sound I have triggered (i.e. it doesn't have to launch WMP or similiar software).

Any ideas on how to do this?

I know it can be done as a clever guy I used to work with set it up and it was quite comical in the office when he was able to trigger cow noises, etc from anyone's PC by remoting in via the backend.



Answer:run exe via command line

I don't know the answer, I just want to subscribe in case someone else does !

I suppose if you could figure out how the default Windows sounds are triggered you could find the command line to run them.

2 more replies
Relevance 52.48%
Question: command line

how do you change the messenger startup setting from disabled to automatic through the command line.

Answer:command line

can't. you have to change it to manual in the control panel before you can change it on the cmd line.

change setting. Then use cmd for the rest...

6 more replies
Relevance 52.48%

I was given a laptop to try an repair. None of the applications would open, it either asked how you want to open it or say no application found. After several tries I was able to do a virus scan. Couple Trojans and virus. Still no change in laptop. I googled the question and found someone asking a question with similar problem & was told to download this scan. I figured I had nothing to lose the laptop wasn't working so I outsmarted the virus & downloaded the program... After downloading, it needed to reboot. but before I allowed it to reboot I noticed the applications suddenly working... Rebooted & scanned. Its came up with 4 Trojans, 4 viruses & over 200 accounts of spyware. To remove them was $40 with $30 mail in rebate... My friend suggested that what I had downloaded was one of those scams that give you the Trojan & make you think they are getting rid of it for a price. They suggested I do a killdisk to wipe out the HDD and reinstall the OS.
Killdisk worked, it says I need to do a FDISK & FORMAT before I can download the new OS. I can't figure out how to do that. I get a blank black screen with a curser but it won't take any code. I have tried downloading the OS (windows XP) and it says it can't find any hard disk drives.

What am I doing wrong?

Answer:how do you get a command line?

10 more replies
Relevance 52.48%


I would like to know what is the command for delete files and shortcuts on current user desktop.

Is it del C:\documents and settings\*\local settings\desktop\popup blocker stops popups.lnk?

Using winxp pro. I know it is easlier to use windows explorer but I am doing this for interest.

Thank you.

Answer:Need some help on command line pls.

You are roughly right. When you open the DOS box, it will automatically be logged on the current user's account: C:\Documents and Settings\Account Name\

from there, change to the folder where the file or shortcut is located (for example, type CD Desktop, then press [ENTER]. Then type DEL (name of file or shorcut) and press [ENTER]

For stubborn files which won't delete while Windows is running, open the DOS box then end the EXPLORER.EXE process which quits the Windows shell but leaves the DOS box open for you to issue the DEL command on the stubborn file. When done, bring up the task-manager again (CTRL-ALT-DEL), log-off then log-on to restart the Windows shell.

2 more replies
Relevance 52.48%

Wiondows XP has lost startup files. What is command line to copy all these files back onto machine for startup? And what is the complete set of files needed? thanks.

More replies
Relevance 52.48%

How can I turn something like this:

into a Reg add command?

I need to turn a series of reg edits into a .bat to run, and am a little confused on how to convert between the two formats.

The original I have is from a .reg edit file, and I need to convert the keys to a .bat/ .cmd


Answer:Command Line Reg help

8 more replies
Relevance 52.48%
Question: Command Line

I am using Remote Destop Connection through Terminal Server for my stores to log into our point of sale, Which is on a Windows 2003 Server. Under the user accounts, it says I can have TS automatically open a specific program when they log in, but I have to enter that programs command line. How do I find what the command line for that progrram is?

Our pos also has an email client built in which can scan files with antivirus software. I need to find the command line for Norton AV too.

Answer:Command Line

I would think they are talking about the path to the file.

c:\Program Files\etc.....

1 more replies
Relevance 52.48%

How do we check if IE has finished downloading a file through command line..?

Answer:IE 6 Command line help

Start>Search>Name of File. Most downloads tell you when they're finished and if you need to manually install.

3 more replies
Relevance 52.48%
Question: Command Line

Do any of you guys know how to restart a network card? (disable/enable) from the command line in windows (particularly windows server 2003). I want to create a batch script to restart this if the server can't connect to something on the internet after a certain time period.

I'm having a problem with a network card just stopping to respond for some reason and the only way I can get it to work again is to restart it that way unless i want to restart the whole server. I had this problem with another server as well. About all I can think of is either the switch is malfunctioning or i'm screwing up some sort of dns issue.

Answer:Command Line

wouldn't it make more sense to try and figure out what is causing your problems? Patching things with duct tape won't get you far.

11 more replies
Relevance 52.48%

does win xp by default keep a log of command line commands executed?

i'm looking for a list of commands executed during the current windows session, but not the current session (i.e. I closed the command prompt window, but haven't logged out)

also: does win xp keep a log of ftp transfers done by the built-in ftp command line utility?

Thanks much!


Answer:Log Of Command Line?

No to both. I'm unaware of an easy way to do this, preferring to save my sessions with the screen capture utility and pasting it into MSPaint.

1 more replies
Relevance 52.48%

Hi Guy's and Girls,

Just first off I've never been too good with CMD and only an Apprentice in my company I work for.

Now something I've wanted to do for awhile was to make the following but I don't necassirealy I know how to do this in one batch file:

I would need a Batch file that is able to read the follow;
Find Current Hard Drive Space and What is used (Dir can do this as far as im aware)
Convert the CMD information Into either a Excel Document or a .txt format.

If anyone could lend me a hand with this that would be great.

P.S the drives I want to make a log of are Server Destinations so i can monitor their disk space daily.

New Member

Answer:Command Line - Help

I don't know if this might help. I have a command line program that gives the free space in B KB MB GB using the largest appropriate. It's df.exe for disk free

[C:\Program Files\JPSoft\TCCLE13x64]df /?

df.exe Copyright 2014

Usage: df [ C D \\Name\Share ]
free disk space in one of B KB MB GB

( Truncated to 3 decimal places. )

[C:\Program Files\JPSoft\TCCLE13x64]df c
383.848 GB Free on c:

If you would like to try it, it is free and may be downloaded from my page here:
Miles Ahead Software

Edit: you can use command line redirection to output to a file.
For example to append the result to test.txt you can do
df c: >>test.txt

Edit2: You may specify more than one drive on the line.
[C:\Program Files\JPSoft\TCCLE13x64]df c e
383.848 GB Free on c:
65.669 GB Free on e:

[C:\Program Files\JPSoft\TCCLE13x64]

9 more replies
Relevance 52.48%
Question: command line

How do I create a batch file that will execute an exe and have this syntax "omnimm -repository_barcode_scan HP:UHDL-LTO_eilrhmw001" follow through:-e.gecho offstart "C:\program files\omniback\bin\omnimm.exe" omnimm -repository_barcode_scan HP:UHDL-LTO_eilrhmw001What I would like to know is how can the above action be incooperated to the exe file when it is executed?

Answer:command line

combine the offstart "C:\Program Files\omniback\bin\omnimm.exe -repository_barcode_scan HP:UHDL-LTO_eilrhmw001"that should be what you need (tested on XP SP2, works for me)

1 more replies
Relevance 52.48%
Question: command line

Hi Everyone...When I go to my computer and hit start button then the run button and type in 'ipconfig' or 'config' and some times other commands the screen comes up just for a spilt second and then it disappears. Now I have been in my registry trying to tweak my computer using tweak XP. I don't know if this has anything to do with but its the last thing I have done. I not sure when this started either. I run windows XP Pro sp 3 and its running pretty good right now. But something is wrong and I not sure where to start so if this makes any sense to someone I need some advice Please....and thanks tooLeRoyjoeEdit: Moved topic from XP to the more appropriate forum. ~ Animal

Answer:command line

open a command prompt window first
type cmd and then hit enter, and the command prompt window should open and any commands you now type wont disappear

2 more replies
Relevance 52.48%
Question: Command Line Help

Hey, can anyone help me. I am trying to make a File using CMD edit which could dump all the tasks running. I can?t figure the code; I got "tasklist" part but then....
So I am a little lost, :dead: well actually I have no idea what I am doing . And while you are at it, can someone recommend me a program which has all the command lines and what they do. Or even those "click a command" programs (if there is one). Thanks.

(for the :suspiciou "why do I want it" folks, well I would copy the file on my USB disk drive, take it to the cafe down below and see which programs they are running - there is this program which, when I type "Patch" in the internet explorer shuts it down and so I am not able to download all those Quake, Farcry, Doom, Painkiller, Halflife and etc. patches which improve performance and add a little more game play. Then I would make another file which would shutdown those processes. Hope I am not confusing you guys.)

Answer:Command Line Help

Easiest way I can think of is to use
tasklist > "directory you want file in"\tasklist.txt
But I'm not sure I understand what you're asking for here. Perhaps you can try to clarify a bit?

1 more replies
Relevance 52.48%
Question: AOL Command Line?

Foolishly signed up for AOL broadband (out of sheer laziness, I really should have known better!) and have found their online help to be a bit hazy in the area of commandline/batch commands.

What I want to be able to do is exit AOL, confirm my exit, exit AOL communicator (the nearest thing to POP3 that AOL offer) and shut down a few other programs I use all at once by means of a batch file.

Any ideas whether this is doable (the batch side of things I'm happy with, just the AOL command line stuff I'm not sure on).

Thanks guys.

More replies
Relevance 52.48%
Question: DEL command line

If I have created a new folder on my C: file and named it: "Odd Bods" for example.

Using the DEL Command Prompt in XP, what is the exact syntax to forcibly delete it?

I have tried by opening the Command Prompt and typing in "CD \" then enter to bring up the cursor "C:\>". Then I have typed: "Del /F Odd Bods" and "enter". The message then comes up; "Are you sure? y/n". I then type: "y" and enter, but the folder is not deleted.


Answer:DEL command line

If folder is on desktop:

Enter 'cmd /k' (no quotes)
Enter 'cd\' (will get you the C:\ prompt)
Enter 'cd\Documents and Settings\{your user name}\Desktop'
Enter 'dir /w'

If you can see the item, Enter 'erase [filename]'

del [filename] also works - for a directory (maybe folders too) RD [directory] works

edit: if you do the Start, run, cmd /k thing then type 'help' you'll get a list of the limited MSDOS commands remaining in the poor excuse for DOS XP supports.

For details on those, type, for example, 'help del' and you'll get the possible options.

8 more replies
Relevance 52.48%
Question: DOS Command Line

Hi there-

Just reorganising my Library and for reasons I won't bore you with, need to do some mass amendments to Filenames to get rid of extraneous Info as I'm tight on Space.

So, for instance, I have a Folder (DIRectory) with one hundred PDF, Mobi, RAR, ZIP, CBR and CBZ files in it all with filenames in the following format :-

Henry Rider Haggard (Victorian Novelist, Africa Hand) [Title of Short Story/Novel/Graphic Novel].???

As :-

a) I do happen to know who H Rider Haggard is (having read my first book of his 55 years ago when I was Ten)
b) All the Files are going to go into a Directory (Folder) Entitled "Henry Rider Haggard" (in case I suddenly get struck down with Oldtimer's disease)

then I want to get rid of the words "Henry Rider Haggard (Victorian Novelist, Africa Hand)" which is common to every Filename.

My latest attempt at a Command Line blanket change from within the Folder (Directory) was the DOS command -

REN "Henry Rider Haggard (Victorian Novelist, Africa Hand)"*.??? *.???

I have also tried :-

Using the different extensions (.CBR .ZIP .RAR etc ) to change them 20 or 30 at a time
Using the same Format but *.* instead of *.???
Using no Inverted Commas on the part of the Description that I want to get rid of

Yes, I DO realise that in the time I have spent fiddling about with Command Line and composing this Post I COULD have done the whole thing Manually, BUT I have Sixty Five separate Authors to create Directories (Folders)... Read more

Answer:DOS Command Line

There is no such thing as Dos. Dos went the way of the Dodo bird, after 98 died. You have a Command window, that you can do certain things in. But what you are wanting to do, I am lost. It sounds like you are telling a story, not asking a question.

If you want to change a file name, you do it from Explorer in the Desktop. If you want to edit a file, you do it from what ever program was used to create the file.

44 more replies
Relevance 52.48%

I recently installed new software that requires adding a command line to allow the software to restart and configure itself at start up. The manufacturer, who hasn't responded to my e-mail gives instructions to automatically load this software already configured by using the "command line". I'm using XP Pro. I believe that it's the last line below that needs to be loaded but my question is how do I so this. Here are the manufacturers instructions.
VSPEmulator.exe <config file path> <options>
Config file is a special file with extension ".vspe" that can be created using VSPE "Save as..." command.
Options are additional parameters that can be passed to VSPE to manage its basic behavior.
-minimize : minimize VSPE dialog
-hide_splash : do not show splash window

Execute VSPE and automatically load configuration file
VSPEmulator.exe c:/config_files/main.vspe

Execute, load configuration file, hide splash and minimize VSPE
VSPEmulator.exe c:/config_files/main.vspe -minimize -hide_splash

Answer:How do i use the command line in xp

6 more replies
Relevance 52.48%
Question: command line

Are there any Windows equivalent commands for the following commands on Linux: launch a process one after another U type this:

foo1 && foo2 && foo3 & ... launch a process with a certain delay U type the following:

at +5min foo launch a process from a terminal but only in the background U just type & at the end of command.

Answer:command line

"at" is a simple dos command that still exists. type "help at" at the command prompt. Same for the "&&" placeholder (eg. dir && edit lists directory contents and starts the editor after that).

7 more replies
Relevance 52.48%
Question: Command line

I wish to have downloads from the Web transferred directly to a file I have on my desktop. Presently it goes to program files/x86/program name. I wish it to go to my desktop and into "My Downloads". if possible. Can anyone help me accomplish this task? I need the command line. Thank you.

Answer:Command line

Hi Alvin,

First, if you aren't prompted for where to download files, see the following article to make sure that happens: Not Prompted to Specify Download Folder for File.

Second, if you are prompted but don't like where it selects and want it to be a different location (like the folder on your desktop), check out the following article: How to change the default download directory for Internet Explorer | Windows Reference.

I hope this helps.

Good luck!

3 more replies
Relevance 52.48%

I've been messing around with the ftp program in Windows XP's command prompt, and I've got something odd happening.

I uploaded a copy of AVG to my own website so I wouldn't have to hunt for it and so I could use this ftp program to download it. After giving the "get" command with the file name, the file downloads. But when it's done...if I go to run it, a new command prompt window opens for a split second, shows nothing, and disappears. This has happened on two different PCs now.

If I use a web browser to download the files, it works. I'm not sure what to make out of this. Could I be doing something wrong?

Answer:FTP at the command line

Sounds right, FTP is pretty simple. What is the FTP server on the other end that is dishing out the file?

1 more replies
Relevance 52.48%

... display an HTML file in the command prompt?

I know I've seen it before...

You go into command prompt, give the command or commands, and it would display the html file... obviously as text, with some information before it and so forth.

Does anyone know what it is/how to do it? I can't remember where I saw it and I can't remember how to do it...

Answer:Command line command to...

type filename.txt or in your case, type filename.html

9 more replies
Relevance 52.48%

I want to store >> into a SET variable.

Normally, I would do this:
However this returns an error.

How can I store >> without using quotation marks?

It needs to be >> in order for my script to work correctly?

Hope you guys can help.


Answer:SET command in Command Line

10 more replies
Relevance 52.07%

Anyone know of a fairly easy to use command line program that'll allow me to connect to these networks. I've tried CenterICQ, I can connect and see my list etc, but I cannot seem to send or recieve messages. Maybe if someone could explain that would be great, else, an easier one would be nice.

It needs to work on Windows XP (Pro) SP2.

More replies
Relevance 52.07%
Question: Command line error


I'm having troubles whit my cmd. shortly, this is how it looks like :

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Masaa>ipconfig
'ipconfig' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Masaa>help
'help' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Masaa>

tryed to check help from, but no help. I would preciate if you could help me alittle.

Matti Lehmus

More replies
Relevance 52.07%

I'd like to run a programme that has command line options (/f=filename is the option I want to use). In Windows 3.1 days, I can vaguely remember making a shortcut, and adding the options in the properties somewhere.Can I do this in Windows98/ME/XP? I've right clicked the shortcut and selected properties, but can't find anywhere to put the options.

Answer:Command line options

"C:\Program Files\IrfanView\i_view32.exe" /hide=2C:\WINDOWS\EXPLORER.EXE "C:\My Documents\Page Plus", /e

3 more replies
Relevance 52.07%

I keep getting Command Line Interface has stopped working - how do i fix it because it is really annoying me now - can anyone help me please. Thanks Clare

Answer:Command Line Interface

Hello Clare, and welcome to Vista Forums.

What are you usually doing or running when you get this error?

Have you already tried a System Restore using a restore point dated before you get this error?

Hope this helps for now,

2 more replies
Relevance 52.07%

hi, in the comamnd line in xp how do i display the date and redirect the output of the command to a txt file?

thanks for any help.

Answer:Command line xp question

This works for install date of Windows
Windows Install Date

"systeminfo | find /i "install date" -->enter

This works for IPConfig Notepad creating:
Start --> Run--> cmd /c ipconfig /all >Desktop\ipconfig.txt < ok>

So I wonder if "systeminfo" has a "date" option, that you could type " >Desktop\Date.txt "

1 more replies
Relevance 52.07%

I get the following message when I boot windows 98. Following file is missing or corrupt: Type the name of the command interpreter. I've gone on to microsoft's website to check the problem. Told me to type sys c: in the command prompt, but I just get a bad command. Anyone have any suggestions about repairing this file?

Answer:win 98 command line missing

Try going to and picking up a Windows 98 bootdisk. Boot off that, and then when you get to the prompt, try typing in sys c:

7 more replies
Relevance 52.07%

Hi all,

I am looking for a way to scan documents using a command line.

I downloaded and used a 3rd party application called CLScan and it works awesome, but I am at the end of the trial period. So I got the choice to buy the full version or to find a cheaper solution. So far I did not find another software that could do all as CLScan.

Any thoughts? Thank you.

Answer:Command line scanning

I haven't tried it. Just found via search engine:

Download CmdTwain 0.03 Free - A program that allows you to run your document scanner from the command line - Softpedia

2 more replies
Relevance 52.07%

You can use the sc.exe command to start, stop, configure, and manage various aspects of services in the same way that you can on earlier versions of Windows. On Windows Vista, however, the sc.exe command has been enhanced with new command-line switches.
New switches for specifying required privileges for a service include: -privs Sets the required privileges for a service. -qprivs Queries for the required privileges of a service.
New switches that support per-service SIDs include: -sidtype Changes a service?s SID. -qsidtype Retrieves the setting for service?s SID.
New switches to enable configuration of the FailureActionsOnNonCrashFailures setting include: -failureflag Changes the setting of the FailureActionsOnNonCrashFailures flag. -qfailureflag Retrieves the setting for the FailureActionsOnNonCrashFailures flag. -showsid Displays the service SID string corresponding to an arbitrary name. -stop This is an old setting that has been enhanced in Windows Vista to specify the stop reason. This enables postmortem reliability analysis to find out reasons (by examining the event logged by the SCM with the stop reason) an administrator would stop a service.
For more information about these new command-line switches for sc.exe, type sc /? at a command prompt.

Answer:New Command-Line Switches for Sc.exe

thanks for the useful tips

3 more replies
Relevance 52.07%

I'm using WinRAR 3.51 regged. I was wondering if there is a way to set a compression level of a single file type in the command line. I use the -M5 switch for the archive, but I currently use the -ms switch for pdf files. I'd like to pdf's to M1 compression level, as it does slightly compress the pdf files, and there are 5000+ pdf files. There are also 5000+ txt files as well, so I do not want to change the global setting compression level to a lower value. Unfortunely the -M5 setting takes too long on pdf files to use it on these files. I didn't see any switch that would allow this, something like the -ms switch where you could set a compression level. Is this possible?

Here is my command line setting currently:

c:\progra~1\winrar\winrar a -r -M5 -MD4096 -Y -O+ -Ppassword -EP -ac -vn -ep1 -agDD-MMM-YY -mspdf;jpg;mp3;zip;rar -apGulfMedia-D "C:\backups\web.rar" "S:\*.*"

I'm figuring no one may know, but I figured it was worth a shot. I already emailed their support about this but I don't know if or when they will answer.

Answer:WinRAR command line

You can't have 2 different compression levels in one archive.

2 more replies
Relevance 52.07%

I've created a batch file for zipping selected items in a folder.
(The file is placed in 'Send to').
If I use the following code:
for %%* in (.) do set CurrentFolder=%%~n* "C:\Program Files\WinRar\WinRar" a -afzip "%CurrentFolder%.xpi"
The file name is that of the current folder (correct).
All files are archived whether I select one file or multiple files (wrong).
Selected folders are not archived (wrong).
If I use the following code:
set file=%~f1 "C:\Program Files\WinRar\WinRar" a -afzip "%file:~0,-4%.xpi" %1
The file name is that of the file on which I right click (correct).
Only that file is archived even if multiple files are selected (wrong).

How can I know if a single item is selected or more?
What's the condition syntax?
How can I include folders in the archive?
Thank you.

Answer:Command line - Some questions

The %1 should be wrapped in double quotes in case there's a space in the file path.

But as to multiple selections, this is what I was talking about with "single instance" behavior. What Explorer does is launch the program for each file selected during the right click. The only way to avoid getting a copy of the program per file is single instance. Meaning the first copy of the program to run has to get control of some system object or file. Subsequent copies try and fail, since the first already has the resource. So secondary copies use some means to transfer the command tail to the first copy. The first copy is expecting this and has the mechanism to receive it.

It's tough to do with batch. A better choice may be a scripting language. There ae many free ones. Python, AutoHotkey, VBScript etc..

Passing the command tail uses IPC or InterProcess Communication. There are many methods. Which is "easy" tends to vary with the language used. But you might check some VBScript or Python archives. You might find some already written that may be adaptable to your task.

Edit: this site is a good source:

9 more replies
Relevance 52.07%

Im looking for a CLI type program or command to encrypt an ntfs volume.

Anyone know of a command already present that would encrypt a drive/voume?

i figured encryption = security so ill drop the post here.

Answer:Command line utilities

What OS are you using, Windows something? If so, just be aware that encrypting the drive is actually something done only if you are really aware of the risks. The biggest risk is the OS which case you can't unencrypt your data. May as well toss it. This is because the OS controls the encryption key. Once that key is lost, the battle is all over.

Most security experts will first say don't do it. But if you absolutely need it, then go for it.

I know Windows XP has encryption available, but I'm not aware of the CLI command to do it...

Here is a link for some possibly useful info:

5 more replies
Relevance 52.07%

There is a small batch file I would like to execute. I have cut and pasted it from another source.
The batch file failed repeatedly.

Then I attempted to run the statements individually at the command prompt.
Things still failed.


reg load HKLM\MY_SYSTEM followed by a command in " " marks needs my machine name which is msi64-PC. The machine description is msi64.

But the statement bombs and says pretty much it can't find any part of the statement that is correct.

I can copy out the exact error if needed. But the problem seems to be I'm not pointing at the right thing in the first place or there is a directory conflict.

The sequence is

reg load MY_SYSTEM followed by " a command statement to "0Windows\System32\config\system" in quotes

reg delete followed by what to delete

reg unload which is MY_SYSTEM (to get out of the command)

All of these fail.

I should be able to run the load command at least with no argument from Win7

that statement from the sample looks like this:

reg load HKLM\MY_SYSTEM "%~dp0 (zero)Windows\System32\config\system"

I can add the error at a follow up

More replies
Relevance 52.07%

Can some one tell me how to navigate the command line? I need to get from c:\documents and settings\user to programs\program

Answer:how to navigate the command line

Hi there...not sure what you mean by Programs\Program...Program Files??


cd \program files\'Name of folder'

Does that help?

3 more replies
Relevance 52.07%

I have a computer running xp, I tried to do a system restore after my daughter got it infected with went haywire and when I try and boot it up it says type the name of the command line interpretor?I dont understand this,does anyone please know what it means and how to fix it,its been out of action for 2 months now, thanks for any advise

Answer:Command line interpretor

Do you have the XP disc or was it an OEM installation? Can you get into safe mode or doesn`t it get that far?

1 more replies
Relevance 52.07%

i have a few computers at my house and they all use windows. I want to control them via command line and i have a few questions about that.

1. What commands do I use to show the current work group my user is in, the current user that's logged in and current password my user uses to log in.

2.Do the same commands work for windows visa and 7

3.Can I change a setting via command line that will allow remote desktop connection to a computer?

Answer:Command line questions

1.Users are not in Work Groups. Computers are. Users are assigned to Local Groups. Your are not going to show the password. That is encrypted. Type the command SET at the cmd prompt and you will see a few things you want.

2. Pretty much. Plus they have a few more options.

3. Can't recall. I think you can toggle that on and off with the registry. I am sure if you Google searched you might find an anszwer.

1 more replies
Relevance 52.07%

Does anyone know any good command line calculator? Something like Matlab, but freeware.

Answer:command line calculator

i dont have an answer to your question but i have a question for you. y are you using a command line calculator?

8 more replies