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!!

Hello,

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)

FLVPARSER

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!
Pranjali

RELEVANCY SCORE 200
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
RELEVANCY SCORE 125.2

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
RELEVANCY SCORE 125.2

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
RELEVANCY SCORE 124.8

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
RELEVANCY SCORE 101.2

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
RELEVANCY SCORE 101.2

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
RELEVANCY SCORE 101.2

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
RELEVANCY SCORE 100.4

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
RELEVANCY SCORE 100

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,
Tom

Read other answers
RELEVANCY SCORE 98.8

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

Hi

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:

Code:
devcon disable *DEV_001C*
program.exe
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

Code:
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
RELEVANCY SCORE 98.4

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
Clonezilla
 

Read other 3 answers
RELEVANCY SCORE 98

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
RELEVANCY SCORE 97.2

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:
Code:
Call Shell("cmd.exe" & dosCmd, vbNormalFocus)
I can also open Acrobat which is the program I need using:
Code:
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:

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

Code:
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
RELEVANCY SCORE 96.4

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.

Thanks!
 

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

Read other 15 answers
RELEVANCY SCORE 96

Hi!

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.
Miro36

Read other answers
RELEVANCY SCORE 95.2

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?

Quote:





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

http://www.tech-recipes.com/windows_tips446.html

Read other 2 answers
RELEVANCY SCORE 94.4

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
RELEVANCY SCORE 94.4

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:


Code:
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?

Regards,

Dan

A:Command Prompt: Repeat del command continuosly

Quote:
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
RELEVANCY SCORE 94.4

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.






Quote:
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 192.168.1.100 to 192.168.1.255


http://social.answers.microsoft.com/...f-3656805f1844

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
RELEVANCY SCORE 94.4

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?
Thanks

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,
Shawn

Read other 11 answers
RELEVANCY SCORE 94.4

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

C:\WINDOWS\system32\command.com
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:\WINDOWS\System32\smss.exe
C:\WINDOWS\system32\winlogon.exe
C:\WINDOWS\system32\services.exe
C:\WINDOWS\system32\lsass.exe
C:\WINDOWS\system32\svchost.exe
C:\WINDOWS\System32\svchost.exe
C:\WINDOWS\system32\spoolsv.exe
C:\WINDOWS\System32\drivers\CDAC11BA.EXE
C:\WINDOWS\Explorer.EXE
C:\WINDOWS\system32\cisvc.exe
C:\WINDOWS\System32\CTsvcCDA.EXE
C:\Program Files\Cisco Systems\VPN Client\cvpnd.exe
C:\Program Files\Common Files\McAfee\HackerWatch\HWAPI.exe
C:\PROGRA~1\McAfee\MSC\mclogsrv.exe
C:\PROGRA~1\McAfee\MSC\mcupdmgr.exe
c:\program files\common files\mcafee\mna\mcnasvc.exe
C:\PROGRA~1\McAfee\VIRUSS~1\mcods.exe
C:\PROGRA~1\McAfee\... Read more

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

Read other 16 answers
RELEVANCY SCORE 93.2

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
RELEVANCY SCORE 91.2

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?

Hi,
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.

Paul

Read other 1 answers
RELEVANCY SCORE 91.2

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.

SYSTEM SPECS:
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
Quote:




Having problems with spyware and pop-ups? First Steps




link at the top of each page.

Please follow our pre-posting process outlined here:

http://www.techsupportforum.com/f50/...lp-305963.html

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
RELEVANCY SCORE 91.2

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

jcgriff2

.

Read other 2 answers
RELEVANCY SCORE 90

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.





Quote:
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
RELEVANCY SCORE 90

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
RELEVANCY SCORE 90

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 - 192.168.0.5:3389), 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 192.168.0.5 MA:CAD:RE:SS:44
(where the last portion is the MAC address)
 

Read other answers
RELEVANCY SCORE 90

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
RELEVANCY SCORE 89.6

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.


CREATE A SYSTEM REPAIR DISC

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





GO TO A COMMAND PROMPT USING A SYSTEM REPAIR DISC

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.
5) NEXT
6) SYSTEM RECOVERY OPTIONS dialog
will search your system for installed versions of Windows.
7) select the Use recovery tools that can help fix problems starting Windows radio button |
NEXT
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
RELEVANCY SCORE 89.6

Hello Everybody!

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

Situation:
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! )

Viz.:
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
RELEVANCY SCORE 84.4

Code:

@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
Exit


:IsAdmin
Reg.exe query "HKU\S-1-5-19\Environment"
If Not %ERRORLEVEL% EQU 0 (
Cls & Echo You must have administrator rights to continue ...
Pause & Exit
)
Cls
goto:eof
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
RELEVANCY SCORE 84.4

Hello

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:

Subsubfolder\[blabla]

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

hello?

Read other 3 answers
RELEVANCY SCORE 83.2

I want to store >> into a SET variable.

Normally, I would do this:
Code:
SET VARIABLE=>>
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.

Thanks.
 

A:SET command in Command Line

Read other 10 answers
RELEVANCY SCORE 82.4

Hello.
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
RELEVANCY SCORE 81.6

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
RELEVANCY SCORE 78.4

I am wanting to learn to use the Command prompt, my first lesson stopped with the following;I know I did something wrong, . . but I don't know what is was ?

A:Command Prompt

The command tells Windows to change directory to C:\Windows\Windows\system32\drivers.Since it can't find the path, it means that one of the sub folders isn't present, that's why it gives out this error.You are already here - C:\Windows. This means that the folder C:\Windows is present.Based on your screenshot, our next step would be to verify if there's another folder named Windows in the C:\Windows folder.To test it, try this command:C:\Windows>cd WindowsIf it gives out an error, that means that C:\Windows\Windows folder doesn't exist, which would explain why you can't change directory to C:\Windows\Windows\system32\drivers folder.

Read other 9 answers
RELEVANCY SCORE 78.4

I have looked at the command prompt tutorial on this site, But when I enter dir than press enter I get an error message, (windows cannot find this file make sure you typed It correctly). I followed directions, Any ideas?

A:Command Prompt

Go to Start>Run and type cmd and press Enter. Type dir and press Enter and it should come up
Mark

Read other 3 answers
RELEVANCY SCORE 78.4

hey guys when i open command prompt it sais D:\ documents and setting i have typed in C: and it changes it but when i close down the command prompt and i open it agian it sais D:\ documents and setting i was woundering if i can make it C: permenatly

A:Command Prompt Help Plz

An excellent source of info about the command prompt: http://www.petri.co.il/customize_command_p...p_2000_2003.htm

Read other 1 answers
RELEVANCY SCORE 78.4

I need to run CHKDSK /f on my ibm thinkpad t23. because windows xp is blue screening at startup. how do i get to command prompt. i already tried installing xp again, and it even blue screens on that. so chkdsk is my last hope. can anybody help?
 

A:command prompt

Read other 16 answers
RELEVANCY SCORE 78.4

In Command Prompt what do I type in at the blinking dash?
 

A:Command Prompt

Go here; Command-line reference A-Z
 

Read other 2 answers
RELEVANCY SCORE 78.4

About a week or so ago my computer started this annoying little thing with its command prompt. If two or more users are logged on (using or not) the CP will pop up every few seconds really fast, but does not stay up long enough to read.

So, I did several scans and registry cleanings. But the problem was not solved. Then I went back to when the computer was not doing this and still didn't solve it. So I figured maybe one of the user accounts were bad and still it did not solve the issue. The only way I've figured out how to get rid of this issue -temporarily- is by restarting the system.

The system runs fine like nothing is wrong minus the annoying pop ups.

Ideas?

A:Command prompt

Try to run it as an adminstrator and the close it and then reboot and see what happens.
Elevated Command Prompt

Read other 5 answers
RELEVANCY SCORE 78.4

OK so I'm doing this on my mobile phone or iPhone whatever basically because my Internet will just not work. The media keeps things disconnected I've tried a bunch of different things I'm working on it all day and I'm really at a loss here I think I might've accidentally deleted something from Intel v pro not sure exactly

Read other answers
RELEVANCY SCORE 78.4

I have a friend who uses Wordstar, a DOS based wordprocessor. Currently he is using Windows '98 that has the ability to boot up in DOS(command Prompt) to access his wordprocessor, AND if he wants to open Windows for Internet access, he can by typing "WIN".

Is a similar booting ability possible in XP ? If 'yes', how ?

I have tried his dos based Wordstar programme on my computer using XP in the "command prompt" mode, and it works OK.

Now is it possible to boot up direct into "command prompt" direct without going through the Windows start up routine ?

I realise that in the "command prompt" mode some of the old DOS commands are absent, but in my eyes it is DOS in new cloths with a few omissions.

Your help please.
 

A:XP & DOS(i.e.Command Prompt)

Read other 6 answers
RELEVANCY SCORE 78.4

Hello,
Computer crash and I can't get into command prompt to do anythin please help (I have my XP disk) when I turn pc on all it gives me is memory test ex cant do anything but go into set up or without going into setup takes me to page with all the:- safe mode, safe mode with command prompt, start window normally, but ever one takes me to blank page

A:command prompt

If your XP disk is a retail disk give this a try.
Boot up and go into setup and change the boot order to allow the cd to boot first.
Then reboot.
You should the be able to press F8 and get to a command prompt from there.
NOTE: I only mention retail cd because I dont have much experience with system maker provided CDs but it should still work.

If that doesnt work post back as there are a couple of other things that can be done but I dont want to cause confusion.
Also in your next post please try to explain exactly what happened when the computer crashed.

Read other 17 answers
RELEVANCY SCORE 78.4

Ok so every time I try to open the command prompt using an external source (batch file, small c++ program i made to say Hi to me through the command prompt) it instantly closes. Does anyone have any idea why this is happening and if so how can I fix it?

Thanks,
Wave

A:Command Prompt

hi and welcome,
maybe your script error?
and for what you have to make like that???

Read other 9 answers