Over 1 million tech questions and answers.

Command Prompt doesnt seem to recognize the command line!!

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


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 (http://dev2.avacast.com/FLVparser.zip ).
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 THREE files: FileToSplit_0.flv contains from the beginning of your file up to the in point. FileToSplit_1.flv contains from the in point up to the out point. FileToSplit_2.flv contains from the out point to the end of the file.
Obviously, you can discard the "0" and "2" versions of the file. You can open the "1" version in FLVPlayer to check it edited correctly.

Thank you so very much!

Preferred Solution: Command Prompt doesnt seem to recognize the command line!!

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 http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)

A: 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.

Read other 1 answers

i cant run any commands in command prompt.i have checked a lot of stuff on inet to solve like paths @environment variables etc but i still couldnt solve it.i thought maybe its cuz a system file is missing made a repair disc but couldnt run sfc via command prompt at boot because i got this error saying
"thıs verıson of system recovery ıs not compatible with the version of windows you are trying to repair"
i have tried nearly everything but couldnt solve it guys i hope u ppl can help me.
thx from now

A:Command prompt doesnt recognize commands / cant repair windows

It sounds like something went horribly wrong with your Windows system files or registry. Have you used any registry cleaning tools on this system?

You may also try Disk Check with both boxes checked for all HDDs and with Automatically fix file system errors checked for all SSDs. Post back your logs for the checks after finding them using Check Disk (chkdsk) - Read Event Viewer Log. It is possible you have hard disk errors causing the problems.

Also, have you tried to use System Restore OPTION TWO to revert to an old restore point?

Read other 9 answers

The files name is "Music Place", which is an application from Toshiba.
I can not find it in the desktop folder and all the programs that i have used are not able to recognize this file as existing in the desktop.
Ive tried to delete it in safe mode but it didnt work.
Ive also tried to delete it deleting icon cache.
When i make richt click on it just shows "open" and "create shortcut".
It can not be dropped in the bin or change its location.
I cant find it in the folder "namespace".

The icon after i delete the icon cache changed from a "unrecognized icon" ( this little white windows) to a folder icon.

It has no extension.

Thank you very much in advance.

A:A file in Desktop cant be deleted. Command prompt doesnt recognize it.

Long shot... Turn off "Hide protected operating system files" under "Organize"->"Folder and Search Options"->"View" and then open "desktop.ini" in the desktop folder and see if there is some kind of bogus entry for it in there. If so you can delete the entry and save the file. (You may have to change permissions on it to save)

Read other 4 answers

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.

Read other answers

I have WindowsXP Professional, Ver: 2002, SP:1 on my HP Compaq NS9110. when i have started using the Command Prompt using my network ID KHV, i can maximise the command prompt in full screen using "ALT+ENTER" Key. but once my laptop went in to the hibernation, after that when i press "ALT+ENTER" the display doesnt spread throuhout the screen but in the center of the screen and in small font. Can anybody helps in it.

Read other answers

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?

A: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.

Read other 2 answers

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?

A:[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.

Read other 2 answers

I have a utility I run on some customers' machines that requires being run from safe mode. I already have the utility automated via batch, and would like to just run one SFX app and move on to the next machine, knowing that this app will reboot the machine into safe mode w/ command prompt, run my utility, and reboot the machine back into normal mode (the standard shutdown -r -t 01 is easy enough, but there are no modal options!). Also, if this can be done, how would I then make sure that the current user logs in automatically, rather than have safe mode stop at the log-in screen?

The utility in question is a simple "Common Software Package" which includes some software such as Reader and Flash. Some of the software included cannot be installed while an antivirus is running (at least any that have tamper-protection) due to the registry editing involved, but are completely positive in nature (one such software package simply checks the current registry vs. a backup it takes on each shutdown to look for any discrepancies, adjusted for installed software, of course). The packages do not require Windows Installer service to be running, so I have found SM w/ CP to be the best option.

Any help with this would be appreciated.

Read other answers

I need to be able to open PDF files from Win 8 32 bit DOS Command Line to complete a DOS macro for a document management database I've used for 20+ years.

On XP Systems I simply have macro grab file name from database and type >Start "Path\filename.pdf"

Does Windows 8.1 have a similar capability? I'm using ClassicShell.

I understand that Start now opens another instance of cmd, but is there a work around to launch PDFs from command prompt and hand back control to DOS after file is open?

Thank you,

Read other answers

hi folks,

I'm currently running Windows XP SP3 on a netbook which is connected via WiFi to the internet. One of the executable programs I use require the netbook to be offline before it can load properly.

What I wanted to know was, is it possible I can write a command line prompt that will automatically kick in when the executable runs. The prompt would disconnect the WiFi, allowing the program to boot offline without having to manually disconnect everytime.

Thanks in advance for reading the post

A:writing command line prompt: no wifi when opening executable


For more information you can read this document Enable/Disable Wireless Card from Command Line

First you have to download devcon.
Unzip it and copy the unzipped devcon.exe file to c:\windows\system32

Then create a file in notepad, copy the code below and paste it into the file. save it to your desktop as something like myprogram.bat:

devcon disable *DEV_001C*
devcon enable *DEV_001C*
The device ID (DEV_001C) is found in your dxdiag.txt file that you attached and is the device ID of your Wireless card.
Program.exe is the name of the executable program that you want to run - change it to the name of your program's file name.
The batch file will disable the wireless card, then run the program. Once you exit the program the wireless card will be enabled again.

Or else

devcon disable *DEV_001C*
start program.exe
devcon enable *DEV_001C*
This batch file will disable the wireless card, Start the program and then enable the wireless card regardless of whether you are still in the program or not.

Note Devcon is a very powerful tool and you will have to be logged in as an administrator to run it.

Read other 1 answers

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?

A: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

Read other 3 answers

Hi guys,

I have a folder with 995 files in it and I'd like to give someone a text file with a list of all these files in it. Is there a way that I can get the command line to send the names of these files to a text file?

I tried navigating to the directory and using the DIR command and, sure enough it gives me a list but I am unable to copy and paste it to a textfile myself for some reason.

Any help would be appreciated.

A:Command Line Prompt - How To Export List of Files to Text File

type this:

DIR > dir.txt

This should save the output of DIR into the text file dir.txt

Read other 5 answers

I am writing a VBA macro in Excel and have hit a wall. I am trying to get excel to open a command prompt and make it execute a command. The problem I am having is if I try to do anything but open another program, it throws an error back at me.

I can open the command prompt using:
Call Shell("cmd.exe" & dosCmd, vbNormalFocus)
I can also open Acrobat which is the program I need using:
Shell "C:\program files\adobe\acrobat 9.0\acrobat\acrobat.exe", vbNormalFocus
However if I simply wanted to open a PDF file, I have the code to that without opening a command prompt.

I need to open the PDF document on a specific page, and to my knowledge the only way to do this (apart from manually) is to use the command prompt. However I have no idea how to get VBA to put the command in the command prompt, hit enter and then close the prompt.

There are 2 commands that need to be executed in DOS (I'm not sure if there is a way to combine the commands)

They are:

cd c:\program files\adobe\acrobat 9.0\acrobat

start acrobat.exe /A "page=10=Open Actions" "M:\Full Scores\allegro.pdf
These open the pdf document called allegro on page 10.

I am completely stuck. Out of ideas. I've searched the length and breadth of the internet and can find nothing to point me in the right direction. So I was hoping one of you fine people could. Thank you so much, James

A:Solved: VBA Macro that opens the Command Prompt and executes a command

Read other 8 answers

Hello everyone

Recently a problem has arisen with my system.

Previously I have been doing work that requires me to unplug my network connection and I need to check my IP address each time I plug it in again. I guess it's not set for static IP.
Anyways to do this I usually go into Command Prompt and type 'ipconfig'

Now however I just get "'ipconfig' is not recognized as an internal or external command, operable program or batch file".

The directory is the same as its always been, I can change it but it doesn't seem to matter what it is.

I've checked many other posts and is there something possibly wrong with my PATH variable? I used the command 'echo %PATH%' and it works, the list it gives is very garbled however.

I'm not sure what might have made this problem arise, but I would greatly appreciate any help.


A:Solved: Command Prompt Error - 'command' is not recognized...

Read other 15 answers


I need before calling one program insert text into clipboard.
I can do batch for this, but really don't know any command to send any text to clipboard.
Exist any command or method how to do it?

Thank you for all.

Read other answers

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.

A: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


Read other 2 answers

when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line:
'ipconfig' is nto recognized as an internal or external command, operable program, or batch file

I am trying to find out the information I need in order to set up a static IP Address for port forwarding

A:Command Prompt command <ipconfig> not working

In order to set up a static ip address internally, you'll need to either tell your router or your computer not to use automatic DHCP and instead to use a specific IP address.

Go to the System Tray (Notification Area)
Click the Network icon
Click 'Open Network and Sharing Center'
Click the 'Change adapter settings'

Selec the connnection for which you'd like to use a static IP
Right click it
Click 'Properties'
Select 'Internet Protocol Version 4 (TCP/IPv4)'

Select 'Use the following IP address':

In the 'IP Address' field, insert the IP you'd like to use.

Note: The IP you use must be within the router's list of acceptable IP addresses. It's usually a list between to


If you're trying to set up an external static ip you'll need to pay your isp extra for one.

Read other 9 answers

Hi All,

I'm running a program that parses .csv files and then changes them into ._OK files. This process takes longer when there are a large number of *.OK files in the folder where the files being converted are located. To remedy this I occasionally manually run this command:

del *._OK
While pointing at the proper folder.

Is there a way to have this command continuously run, kind of like out ping -t [IP ADDRESS HERE] continuously pings a certain IP address?



A:Command Prompt: Repeat del command continuosly

I'm running a program that parses .csv files and then changes them into ._OK files.

I take it then the conversion program will not accept an output folder other than the current or working directory? More detail what you actually do with the output files might be helpful.

Read other 2 answers

Hey guys,
Earlier my internet was being slow so I went to do a ping test and CMD proceeded to tell me that it didn't reconize the command. I have done countless pings before and this was weird. If i run CMD from the run bar by typing in its Dir then i can run ping and all the other commands or if i change the dir to sytem32 and run the command it works as well. I'm thinking that the paths for the cmd files have somehow gotten messed with and I'm not really sure how to change those so any advice on how to correct those paths would be greatly appreciated. Thanks

A:Command prompt won't execute commands from cmd or command

If you go Start - type cmd then right click on cmd to select Run as administrator you can run a system file check with the cmd sfc /scannow

With Win 7 you don't need to use the Run box.

Read other 6 answers

I have Windows XP on my computer, and when I try to ping something through the command prompt (command.com), this shows up:

The NTVDM CPU has encountered an illegal instruction.
CS:0f23 IP:010c OP:c4 f6 06 a9 02 Choose 'Close' to terminate the application

Running tracert also has the same problem.
If I try running ping or tracert through cmd.exe, it stalls and doesn't do anything. I have to close the program because it doesn't respond.
I can use ipconfig in both cmd.exe and command.com. Do I have a virus on my computer, or is there a way to repair the command prompt? I've attached a HijackThis log file.

Logfile of HijackThis v1.99.1
Scan saved at 6:47:15 PM, on 1/18/2007
Platform: Windows XP SP2 (WinNT 5.01.2600)
MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180)

Running processes:
C:\Program Files\Cisco Systems\VPN Client\cvpnd.exe
C:\Program Files\Common Files\McAfee\HackerWatch\HWAPI.exe
c:\program files\common files\mcafee\mna\mcnasvc.exe
C:\PROGRA~1\McAfee\... Read more

A:Solved: MS-DOS Command Prompt Problem (cmd.exe, command.com)

Read other 16 answers

Hey guys.

Ive been trying to figure out how to make a command prompt run a command line as soon as the box comes up.

I need this to happen all from one command line. A command prompt needs to open with "echo hi" being ran as a command line.

Any ideas?

A:Make a command prompt run a command as soon as it opens?

Hello Fmjc001,

You could create a BAT file for this. Just type in the commands into a TXT file, then rename the file extension to BAT. When you run the BAT file it will run the commands in a command prompt automatically.

Hope this helps,

Read other 11 answers

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

A:[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?

Read other 3 answers

When I type:
start funny picture.jpg
in the command prompt it says cannot find file 'funny' If I say:
start "funny picture.jpg"
it only opens another command prompt with funny picture.jpg as the window's title.

How can I open a file with a space in the name?

A:Command Prompt - start command help?

Welcome to TSF.

Type the command as follows:

Start "" "Funny Picture.jpg"

The first set of quotes ("") sets the title (for the window, this is what the start command expects for quotes normally), then the second set around the file name allows the space.


Read other 1 answers

ok here is what i am trying to do i have software called btprox which lets me lock my computer when my phone goes out of range of my desktop using bluetooth. what i want it to do though, is when i come back to my desktop i want it to unlock automatically instead of just having to put my password in. (i know im lazy but really i just want to do it cause i think its cool) now this software lets you pick programs to run instead of the lock command and stuff. what i want to know is, is there a login command for the command prompt? cause then i could just set it to run a batch file when i come in range and it will log me in.

A:command prompt logon command?

Hi -

The Task Scheduler may be of some help --> http://www.sevenforums.com/tutorials...-new-task.html

I would urge caution in 3rd party software designed to circumvent Windows 7 security and power functions. You may come home sometime and find yourself locked out of your system and a reinstall of the OS to be the only viable option.

Good Luck to you.

Regards. . .



Read other 2 answers

My PC has been acting up recently. It's been running slower than usual, my games that I play are randomly crashing, and there are a couple of really random events happening.

1) Command Prompt is missing from Start Menu
2) "Run" command is missing from Start Menu
3) Internet Explorer missing from Start Menu, and every time it is opened, it pops up with the window that asks you to set up IE8 (the one that is supposed to open the very first time you start IE8)
4) Mozilla Firefox asks me to make it my "default brower" (to which I click yes) every time I open it
5) Some programs will not install correctly

I am running Kaspersky Internet Security 2010. It has popped up saying that it has detected trojans but blocked their access, and has no trace of them inside the application, as in there are no logs stating which ones it blocked, so I can't share those with you.

Any ideas as to what is going on? I also ran Webroot System Analyzer, and that came up clean, but there is obviously something going on with the symptoms listed above. Can anyone help me out? I attached a logfile of a Hijack This scan in case that helps.

Intel Core i7 940
6 Gb DDR3 1600 Mhz Corsair Dominator RAM
2x 1.5 Tb HDDs
32 Gb SSD
2x EVGA GTX 285 FTW Editons
Windows 7 Ultimate

A:Missing Command Prompt, Run Command, and Others

Hello and welcome to TSF.

We want all our members to perform the steps outlined in the link given below, before posting for assistance. There's a sticky at the top of this forum, and a

Having problems with spyware and pop-ups? First Steps

link at the top of each page.

Please follow our pre-posting process outlined here:


After running through all the steps, you shall have a proper set of logs. Please post them in a new topic, as this one shall be closed.

If you have trouble with one of the steps, simply move on to the next one, and make note of it in your reply.

Read other 1 answers

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.

A: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 -)

Read other 3 answers

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)

Read other answers

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 ?

A: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

Read other 4 answers

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.

A: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 -)

Read other 3 answers

Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative privleges from command prompt.

I am trying to do this command:

copy explorer.exe C:\Windows\

So if there is also another command I can just tack onto that that gives me admin rights to do it. I would be happy.

A:Run administrative command prompt from command prompt

On a friend's computer that also has win 7 64 bit installed, make a system Repair CD.

Boot from the system repair CD

go to a command prompt.


START | type System Repair | Enter key | Create Disc button


1) Insert System Repair Disc into optical reader.
2) Shutdown your computer.
3) Boot up your computer from the System Repair Disc
If your computer doesn’t boot from the optical drive, then
Immediately after pushing your Power ON button,
start tapping the F2 key to get to the BIOS to change the boot order

On some computers, Immediately after pushing the Power ON button, start tapping the F12 key and choose CD/DVD to change the boot order only for this time.
4) Wait while a mini-version of Windows is loaded and finally the SYSTEM RECOVERY OPTIONS dialog appears.
will search your system for installed versions of Windows.
7) select the Use recovery tools that can help fix problems starting Windows radio button |
8) Choose command prompt from the list shown

Run any desired commands and type EXIT when finished.
Remove the System Repair Disc.
Shutdown your computer.
Power on your computer.

Read other 5 answers

Hello Everybody!

I don't know if this is a real issue, or just one of those "What the . . . .!!" situations. You judge.

I was working on a batch file that combines two .txt (ASCII?) files created in Notepad to create a composite file, and I noticed something really interesting. (And yes, when someone talks about doing something and the result is "really interesting", it's time to duck and hunt cover! )

Assume that there are two text files: "This.txt" and "That.txt", and they contain the text "This[cr-lf]" and "That[cr-lf]", where [cr-lf] is used to indicate a newline generated by hitting the "Enter/Return" key on the keyboard.

If you look at the files with a hex editor, what you see is something like this:
The file "This.txt" contains the text "This" followed by 0x0D0A, which are the ascii codes for CR and LF.
The file "That.txt" contains the text "That" followed by the same CR and LF characters.
Note that these two files contain nothing else.

Issue I discovered:
When I execute the command copy /y ".\This.txt"+".\That.txt" ".\This&That.txt", I do not get the simple concatenation of the two files, which is what I would expect. Instead I get the two files concatenated, (including the trailing CR/LF's as I would expect), but also one additional character, the hex character for a right-arrow symbol - 0x1A. In e... Read more

A:"Copy" command in command prompt generates 0x1a artifact?

I was trying to remember from my DOS days but drew a blank. A Google Search brought up a possible solution:
ms dos - In MS DOS copying several files to one file - Stack Overflow

Read other 6 answers


One question about DIR command in CMD for creating filename.doc.

I am using the following command:

dir /ad /s /b > filename.doc

Could I get as the result (text inside file filename.doc) only two parts of each line? What I mean is this:

I have the line that looks like:

C:\Main Folder\Subfolder\Subsubfolder\[blabla] example_of_folder_name

I would like to have this only:


In each of line (no matter how many hundreds or thousands of lines) only those two parts.

Thank you...

A:Command Prompt (CMD) DIR command


Read other 3 answers


@Echo Off
Title Sccm
cd %systemroot%\system32
call :IsAdmin

Reg.exe add "HKLM\SOFTWARE\Microsoft\CCM\CcmExec" /v "SystemTaskExcludes" /t REG_SZ /d "" /f
Reg.exe add "HKLM\SOFTWARE\Microsoft\CCM\CcmExec" /v "ProvisioningMode" /t REG_SZ /d "false" /f
Reg.exe add "HKLM\SOFTWARE\Microsoft\SMS\Mobile Client\Software Distribution\State" /v "Paused" /t REG_DWORD /d "0" /f
Reg.exe add "HKLM\SOFTWARE\Microsoft\SMS\Mobile Client\Software Distribution\State" /v "PausedCookie" /t REG_DWORD /d "0" /f

Reg.exe query "HKU\S-1-5-19\Environment"
Cls & Echo You must have administrator rights to continue ...
Pause & Exit
let say my computer have a the same folder in the registry but different value. by using this command it wont merge it. so how do i actually add in a merge with this ?

A:need help with command prompt command

By folder I assume you mean Key. The /f parameter you use should overwrite any current value. Are you saying that doesn't work?

If you remove /f and a value already exist for a key, you'll be prompted if you want to overwrite the current value. That's a good way of testing this.

Read other 2 answers

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.


A:SET command in Command Line

Read other 10 answers

Windows firewall on a client is enabled and I can't disable it via "PsExec". Can I get command prompt via "WMIC" command and then run "netsh" command for disable firewall?

Thank you.

Read other answers

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.

A: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.

Read other 3 answers

After Select Alt+Enter
Display error massage "This system dose not support Fullscreen mode"
How can I get fullscreen mode

Read other answers

Question: What commands could I run in the command prompt during the system recovery? I try & run say "fixmbr" but it doesn't work. Say if I want to write a new master boot record how would I do that?

A:How to fix MBR through command prompt?

These were commands used for vista, but should still hold true for W7. I've just never needed to use them yet......knock on wood

after selecting repair>cmd prompt, enter:
BootRec.exe /fixmbr

you can also substitue the /fixmbr with thes commands:

/FixBoot. Writes a boot sector onto the system partition to start Windows

/ScanOs. Scans all disks for Windows installations and displays them to you.

/RebuildBcd. Scans all disks for Windows installations and prompts you to pick the ones you want to add to the BCD.

Also checkout the Seven Forums Tutorials:-
Startup Repair
MBR - Restore Windows 7 Master Boot Record
Bootmgr is missing - Fix
Bootrec.exe Tool - How to Use in Windows Recovery Environment

Read other 9 answers

I can not access command prompt,When I try to open it ,it flashes for a second then disappears.I have two user accounts on my main account it does not work on the other account it works fine.On my main account it stopped working about 7 months ago.Please help?

my computer system is Windows 7 32bit Home Premium with Internet Explorer 11

A:command prompt

Read other 16 answers

Hai..guys..can any one of you help me...to get out my problem

my system is running on windows-xp(professional)sp2 and my roblem is:

when I am opening my "windows command prompt" -" my system is re-starting automatically!!" my widowns command prompt opens as c:\documents..\eeswar\....

waiting for a help.

A:Command Prompt

command prompt should be in C:\WINDOWS\System32\cmd.com tht could be a problem right there

Read other 4 answers

ok my comp isnt loading windows... i was wundering if i could run a scan disk or sumthing to find the problem... but sence i cant get to desk top i was curious 2 know if i could run it useing command prompts...ive dun this be4 on myother comp and it werked, i got it working fine. but the older one is running 98 and im not sure if i can do the same with xp. if it is possible than i would appresiate it, if some one were to tell me the coorect commands to do so... greatly. thanx 4 ure time.
-the farrit

A:Command Prompt Help

Try hitting the F8 key while it's booting and get the menu - choose "Boot from Last Known Good Configuration." That's a good place to start.

Read other 1 answers

i know the command to shut down a network computer for my home server. When i execute the command i get "Access is denied.<5> i have admin privileges on the vista computer, the other computer is using xp home, and i do have admin rights when i log in.

A:Command prompt ?

Are you using the shutdown feature that came with the computer? The reason I ask is because I sometimes have had issues with remote shutdowns from command prompt. Another question; do you already have a network drive mapped prior to trying to shutdown your remote computer? If not that may be your problem. That error comes back to me when I don't have a network drive mapped. One day I was doing some looking around on Microsoft website and found this:


This comes with more than just a shutdown feature 'psshutdown' but other things as well.

When/if you choose to download this, but it in a very easy to reach place. like "C:\PsTools". Reason being is because you will have to go through that path to access that file, its not like the original shutdown command, you cant just type it in and it execute. What the 'psshutdown' does is allow you to take command from your workstation. The usual line of commands I use is: "psshutdown \\COMPUTER NAME -u USER NAME -k -t xx (where xx is a set amout of time)". It will prompt you with a password requirement, and you will enter it blank. It will NOT come up with stars or anything of the sort, the cursor will not move, it will look as if you weren't typing anything.

I personally enjoy this tool. It hasn't given me any problems, and you don't have to map to the remote computer to use this either. That's why the... Read more

Read other 1 answers

im CERTAIN that i used to be able to go to Start, Run, Command Prompt and type in "Ping www.yahoo.com" and the system would send a ping out to check the path to and back from that URL...when i type in "Ping.....(anything)" now, i get "PING is not recognized as an internal or external command, operable program or batch file."i get the same when i try IPCONFIGdid i screw something up somehow or was i dreaming about being able to do this?thanks

A:Command Prompt

If you can do a chkdsk /r (or repair of you windows as its called)

that is bootup with the XP installation cd and choose repair it will send you to the console and there you type chkdsk /r , windows will the check every file and see if something is corroped and replace it with the standard version.

Doing a windows update after this can be a smart move too.

This shouldent take to long.
Ping www.whatever.com will ping the url yes if you want a more accurent trace of the packet then do a tracert www.whatever.com and you get a roadmap :D

Read other 6 answers

Alright so for the past few days my girlfriend's computer has been having a very quick command-prompt-looking pop-up within 10 minutes of starting up. We weren't able to catch a glimpse of what it said until today, as the pop up is literally less than a second long.

We recorded her screen and were able to pause at the time of the pop up, discovering what the pop up is.

The name at the top of it is:

The contents of the black area of as follows:

Microsoft ® .NET Framework Installation utility Version 2.0.50727.5420
Copyright © Microsoft Corporation. All rights reserved.

Exception occurred while initializing the installation:
System.IO.FileNotFoundException: Could not load file or assembly 'file://C:\Program Files (x86)\Hewlett-Packard\HP Support Framework\HPSA_Service.exe' or one of its dependencies. The system cannot find the file specified..

So after doing some research we really couldn't find much on this. We came to the conclusion that .NET Framework is a popularly used program, but the fact that this box pops up every time the computer starts up still has us concerned.

Any help would be appreciated,

A:Command Prompt Pop-up


Read other 3 answers

I have the command prompt on my desktop because I use it alot. I would like to modify it so when I double click the shortcut icon it automatically runs NETSTAT. I use Win2k pro. Thanks !

A:Command Prompt

Read other 8 answers

One of my users said it could not create backups. The backup icon he has on desktop should run a batch file.
I have checked it and found out batch files don't run, and cmd.exe only shows the black window for a split second before closing, even tried to run as administrator, but it does the same. So I guess the problem is with cmd.exe.

Disabling the command prompt in GPO only gets the window to say it is disabled.

After a google search I checked for cmd.exe in System32 folder, I even replaced it with the one from another working PC with a different timestamp.
Trying to run cmd.exe with /k parameter and some other program from Run command box does nothing besides the black window showing for a split second.
Tried to run SFC /scannow from Run command box, but it did the same, seems any program that needs cmd.exe won't run.
The PC has Windows 7 Pro SP1, AVG and TrendMicro's Housecall scans found nothing, Malwarebyte's AdwCleaner found a few items and cleaned them.
I'm out of options, can anyone give me a hint in order to solve this?

Read other answers