Over 1 million tech questions and answers.

Command Line Help

Q: 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.)

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

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

Read other 1 answers
RELEVANCY SCORE 68.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 66

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

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 58.8

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

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 58.8

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 57.6

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 55.6

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 55.6

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 55.6

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 55.6

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 51.6

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.

Help!
 

A:DEL command line

If folder is on desktop:

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

Read other 8 answers
RELEVANCY SCORE 51.6

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

Cheers

Dave

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

Read other 2 answers
RELEVANCY SCORE 51.6

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.

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

Read other 3 answers
RELEVANCY SCORE 51.6

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

Thanks-

A:Command Line

  
Quote: Originally Posted by win7clutz


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

Thanks-


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


Code:
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
Unicode
/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

Read other 4 answers
RELEVANCY SCORE 51.6

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.

Read other answers
RELEVANCY SCORE 51.6

Hi,

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.

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

Read other 2 answers
RELEVANCY SCORE 51.6

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.
 

A:Command Line

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

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

Read other 1 answers
RELEVANCY SCORE 51.6

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 command.com 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!

MS

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

Read other 1 answers
RELEVANCY SCORE 51.6

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.
 

Read other answers
RELEVANCY SCORE 51.6

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?
 

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

Read other 1 answers
RELEVANCY SCORE 51.6

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.
Usage:
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
Example:

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
 

A:How do i use the command line in xp

Read other 6 answers
RELEVANCY SCORE 51.6

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

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

Read other 3 answers
RELEVANCY SCORE 51.6

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

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

Read other 2 answers
RELEVANCY SCORE 51.6

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.

Regards
New Member
Dale

A: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 1.0.9.1 Copyright 2014 favessoft.com

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

( Truncated to 3 decimal places. )

example:
[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.
Example:
[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]

Read other 9 answers
RELEVANCY SCORE 51.6

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,

sincerely,

Meneer Geerts.
 

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

Read other 2 answers
RELEVANCY SCORE 51.6

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 command.com 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!

MS
 

A:command-line log?

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

Read other 1 answers
RELEVANCY SCORE 51.6

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?
 

A:how do you get a command line?

Read other 10 answers
RELEVANCY SCORE 51.6

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

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

Read other 44 answers
RELEVANCY SCORE 51.6

How can I turn something like this:
[HKEY_CLASSES_ROOT\https\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,75,00,72,00,\
6c,00,2e,00,64,00,6c,00,6c,00,2c,00,30,00,00,00

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

Thanks!
 

A:Command Line Reg help

Read other 8 answers
RELEVANCY SCORE 51.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 50.8

I have a problem getting the command line to map a drive, I'm using the command:
NET USE {DRIVELETTER}: \\COMPUTER NAME\RESOURCE SHARE

and it gives me the message that the network name cannot be found. I have tried the same command trying to map different shares in servers and computers running the following:

WNT 4.0
W2K Pro
W2K Advanced Server
W2K Server

They all seem to work fine, but the resource on the 2k server that i'm trying to reach will not. Mapping it through the GUI will work, and getting to the resource with the run command also will work. I did map another resource on the same server with succes, except for the resource that i need. The folder i'm trying has subfolders that are restricted using group membership, the restrictions work fine. That is not the problem, because we are getting in through the GUI.
Do any of you guys have come across this? Or better yet can you tell another way of mapping a drive with a batch file?
 

A:Mapping with the command line

Read other 10 answers
RELEVANCY SCORE 50.8

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.

A: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:
http://www.planetsourcecode.com/vb/default.asp?lngWId=1

Read other 9 answers
RELEVANCY SCORE 50.8

Help please I am pulling my hair out.

I use a desktop shortcut to run an application called get_iplayer.cmd located in the directory c:\program files\get_iplayer

The line in the Target of the shortcut properties therefore reads:

C:\Windows\System32\cmd.exe /k "c:\program files\get_iplayer\get_iplayer.cmd"

When the shortcut is run (as administrator) the following lines are returned:

'c:\program' is not a recognized internal or external command, operable program or batch file
c:\windows\system32>
However if I repeat the command again by running cmd and use CD to get to manually change directories the program runs as expected.

What is going wrong?

A:What is wrong with this command line?

This is the dreaded space in the filename issue. When you run a command with spaces in the path you must double up the double quotes as shown in the example
"Spaces in Program Path:"
CMD.exe (Command Shell) | Windows CMD | SS64.com

Read other 6 answers
RELEVANCY SCORE 50.8

I wrote a .bat script to automate downloading of .wav files from an ftp site. I'm trying to use wildcard characters because the first 19 characters of the file name change on a weekly basis. I keep getting an error when trying to download the files though. I use a similar script on a daily basis to download files from another ftp site but that download is in the ftp site main directory. Below is script in question, removed access credentials and site name:

%windir%\system32\ftp.exe -s:%0
goto done
@echo off
open ftpsitename
username
password
binary
hash

cd /some/directory/here

lcd R:\foldername

get *******************_H1S1.wav
get *******************_H1S2.wav
get *******************_H1S3.wav
get *******************_H2S1.wav
get *******************_H2S2.wav
get *******************_H2S3.wav
get *******************_H3S1.wav
get *******************_H3S2.wav
get *******************_H3S3.wav
get *******************_H4S1.wav
get *******************_H4S2.wav
get *******************_H4S3.wav
get *******************_H4S4.wav

bye
:done
@echo off

A:command line FTP download help

Hey there .o/

Hmm I think wildcards do not work with Windows' "plain" ftp client. They do with wget though - or at least according to GNU Wget, and you can get Windows binaries from here.

Read other 3 answers
RELEVANCY SCORE 50.8

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?
 

A:Solved: Command line help!!!

EDIT: Figured it out. Thanks anyway.
 

Read other 2 answers
RELEVANCY SCORE 50.8

Hello everyone, i d like to disable my mic from command line

how do i do that?
thanks!

Read other answers
RELEVANCY SCORE 50.8

I'm looking for a native x64 command line tool that can display the amount of free RAM. It has to be a true x64 tool. Does anyone know one? My google searches brought up nothing.

Edit: I finally found what I was looking for. RamStatus is the tool that helped me out.

Read other answers
RELEVANCY SCORE 50.8

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

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

Read other 2 answers
RELEVANCY SCORE 50.8

Hello!

I want to edit the file that DOS executes automatically when it opens. I tried putting my commands in C:\autoexec.bat and C:\Windows\System32\autoexec.nt. After rebooting, the commands still weren't executed when I open command line.

Where is the file that DOS reads commands from automatically when it starts???

Thanks!

A:QUESTION ABOUT DOS (command line)

This was done away with in Vista. Windows now boots from the BCD and you'll have to learn to edit the BCD (Boot Configuration Data).

Here's a link on it: Boot Configuration Data Editor Frequently Asked Questions
And here's a whitepaper on it: http://www.microsoft.com/whdc/system...mware/bcd.mspx

Read other 1 answers
RELEVANCY SCORE 50.8

how do I run a command line scan because I can't get avg to scan using the control center. Thanks

A:avg command line scan...

What is the version of AVG?

Read other 2 answers
RELEVANCY SCORE 50.8

Hey all,

I'm after a program that will log exactly what my computer is doing and how, so if i open a program it will show me "start devmgmt.msc" for when device manager is opened, or something like that, as I am into doing my little batch files (as we all do ) - Does anyone know if a piece of software exists?

Thanks!!!

A:Command line ?Scanner?

Many programs do that, for example:
Keystroke Recorder - Keystroke Logger - Log Keystrokes - Download Key stroke Recorder

Hope it helps.

Read other 5 answers
RELEVANCY SCORE 50.8

Hi,
I am trying to run a command line prompt utility from Microsoft on windows 7. Sure I am doing something wrong, after I click the downloaded .exe file the command prompt pops up briefly then disappears. Can someone explain the basics of running a command line utility on win7? Thanks!


This is the one I am trying to run....(this is just one of many on this site http://technet.microsoft.com/en-us/s...s/default.aspx)

Whois

A:How to run a command line utility?

Please explain in further detail. I can get to the sight, but don't know what you are after.

Read other 9 answers
RELEVANCY SCORE 50.8

Hi everyone,

I have setup my computer so that I can develop programmes using commands like ./configure and make. However, although make works with the command line (cmd.exe), ./configure will not. I always recieve the following message:

C:\Documents and Settings\<username>./configure
'.' is not recognized as an internal or external command,
operable program or batch file.

Is there some way that I can have the command line recognize such a command?

Thankyou for your help.

Edit: How can I delete this message? First posts cannot be removed...
 

Read other answers
RELEVANCY SCORE 50.8

Hello All,

I need a command line to run the ntbackup in Windows 2000 server. It should backup everything on the C: & D: drives, and the system state, I want it to varify, and automatically over-write what ever is on the tape and create a basic log (total completed bytes and errors).

The biggest problem I have had in the past with running ntbackup out of a batch file is getting it to over-write the tapeno matter what.

Thanks for your input in advance.

Chris
 

Read other answers