Computer Support Forum

How to create self extracting command line command

Question: How to create self extracting command line command

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

Relevance 100%
Preferred Solution: How to create self extracting command line command

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

Answer: How to create self extracting command line command

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

2 more replies
Relevance 105.37%

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

More replies
Relevance 101.68%

Hello everybody,

I need your help to create a shortcut for a MS DOS command line.

There are some steps that I launch manually and I would like them to be simpler.

Here are the steps that I want to turn into a simple shortcut:

1) I go into a directory (C:\Server) with the Windows explorer.

2) I launch a cmd on it (click on the path bar and type cmd then press enter; it launches a cmd with the right working directory).

3) I then type "java -jar HaxServer.jar"; and that's it.

What I want to do, is to create a shortcut that launches directly this line in the correct working directory.

I want to tell Windows "Please perform this line "java -jar HaxServer.jar" in this working directory "C:\Server" using cmd.

Could you please help me to create this shortcut.

More replies
Relevance 101.68%

Hello everybody,

I need your help to create a shortcut for a MS DOS command line.

There are some steps that I launch manually and I would like them to be simpler.

Here are the steps that I want to turn into a simple shortcut:

1) I go into a directory (C:\Server) with the Windows explorer.

2) I launch a cmd on it (click on the path bar and type cmd then press enter; it launches a cmd with the right working directory).

3) I then type "java -jar HaxServer.jar"; and that's it.

What I want to do, is to create a shortcut that launches directly this line in the correct working directory.

I want to tell Windows "Please perform this line "java -jar HaxServer.jar" in this working directory "C:\Server" using cmd.

Could you please help me to create this shortcut.

More replies
Relevance 101.68%

How can I create a command line interpreter such as CMD, using assembly. Would I be a hard task, or would I it be easy?I'd like someone to help me out with this?Could you give some algorithms or a step guide in order to do so, or a few code (in assembly)-MeshNix

Answer:How do I create a Command Line Interpreter?

Yes you can. I would say a bit technical in nature. If you are fully trained in assembly then it might be a snap.Contact MenuetOS for examples maybe. There are other projects too that are strictly educational. Playing to the angelsLes Paul (1915-2009)

4 more replies
Relevance 101.68%

Hi, I have searched but just don't seem to be able to get an answer.I'm trying to create a shortcut using a .bat file.It runs a program which in effect runs an access applicatioin.However, I want to supply command argumants to the target of the shortcut.The following contents of the batch work fine.However I want to add the comman arguments on the end and am Having trouble.here's the script that [email protected] offecho Set oWS = WScript.CreateObject("WScript.Shell") > P:\docs\h\g\h\hgh1\1\CreateShortcut.vbsecho sLinkFile = "P:\docs\h\g\h\hgh1\1\Review.lnk" >> CreateShortcut.vbsecho Set oLink = oWS.CreateShortcut(sLinkFile) >> CreateShortcut.vbsecho oLink.TargetPath = "\\pts-app\partner\PTS-Apps\Partner_Review.accdb" >> CreateShortcut.vbsecho oLink.Save >> CreateShortcut.vbscscript CreateShortcut.vbsdel CreateShortcut.vbsAs you can see, the target path is :- \\pts-app\partner\PTS-Apps\Partner_Review.accdbHowever, I need it to be :- \\PTS-APP\Partner\PTS-Apps\Partner_Review.accdb /cmd "XXX000000000031|1|"Any ideas on how to generate that. The quotes are driving me mad.

Answer:Command line to create short cut

There is a program to create shortcuts in batch.SHORTCUT.EXE   (Google it.)Did you already read this?https://superuser.com/questions/392061/how-to-make-a-shortcut-from-cmdIt says:QuoteSeems like there is some shortcut.exe in some resource kit which I don't have.As many other sites mention, there is no built-in way to do it from a batch file. It is from the Windows 95 support tools and NT 4 Server Resource Kit.Unfortunately, there are are other programs with the same or similar name and do not do the same thing.Here is more information:https://ss64.com/nt/shortcut.htmlLet me know if you want to consider SHORTCUT.EXE

3 more replies
Relevance 101.27%

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

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

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

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

Or, DD For Windows

Free system imaging/backup software:

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

3 more replies
Relevance 100.45%

Is there a way to create a link to a folder by using the command line? I am trying to create a link in my start menu that will act as a folder. What I mean is that I want it to act the same as if I created a link to the folder by right dragging into the Start Menu and selecting "Create Shortcut". When I do that the folder will expand in the start menu without clicking on it.

I am trying to write a batch file that will create such a link to a folder of shortcuts on my USB drive. I need to do this every day at work because I don't like leaving the folder there at the end of the day.

I can create a shortcut using Nircmd.exe but that shortcut is not dynamic. What I mean by that is it will not expand in the start menu like the other folders. I can figure out how to create a dynamic link. Can anybody figure out how to do this?
 

More replies
Relevance 100.45%

I want to create a batch file to create a shared folder to which Everyone has all rights. When I use the Net Share command to create the share, Everyone only has read rights.

What utility do I use to assign Everyone all rights to that folder? I used to know the answer to this question, but can't remember now.
 

More replies
Relevance 100.45%

Hello all,
I would like to ask, If it is possible create wireless profile in command line? I know that in GUI you can preconfigure one and later export it and import it to another computer. That's great, but you still need to do it in GUI. Thank you.

Answer:create wireless profile in command line

Open a command prompt run as administrator and type
netsh wlan connect ssid=YOURSSID name=PROFILENAME

to view the profiles created you can use
netsh wlan show profile

-----------------------------------------------------------------------------------------------
Hetti Arachchige V Aravinda |
Microsoft Community Support | Windows Tech Information

(B.Sc, Microsoft Small Business Specialist, Dip. in Network Administration, MCP, MCTS,

MCSA, MCSE, MCITP, CCNA, MBCS)

-----------------------------------------------------------------------------------------------

Don't forget to mark this as helpful if you found this is helpful ,and its the answer mark this as answer.

-----------------------------------------------------------------------------------------------

5 more replies
Relevance 99.63%

A pc here at the office had a bad motherboard. I replaced the motherboard, ran Windows repair and am at the logon screen. I click the username and ask the guy for his password. He says it's blahblah, but blahblah does not work. I boot into safe mode to access the Administrator account so I can remove the password. When I click to log in as Administrator, it says This copy of Windows cannot be activated in Safe Mode.

I am needing some sort of tool to remove the existing user account password or one to create a new user account so I can log in and get to the activation screen.

Any ideas?
 

Answer:Create XP User from command line or using bootup tool?

You can access the Administrator account without being in safe mode.

Just type in Administrator as the username.
 

6 more replies
Relevance 99.63%

How do you create user and groups on the command line with ms-dos ? Also how do you assign user to groups

Answer:Create user & groups through DOS command line (POST 1)

There are no users or groups in MS-DOS. Therefore, you cannot create them.

3 more replies
Relevance 98.4%

How do you create user and groups on windows command line interface ? And how do you assign the users to groups?

Answer:Create user & groups through windows command line (POST 2)

Why do you post twice?Your previous post improperly expressed (there is no DOS in Win 7) was moved to the correct Forum by the moderator that followed an user remark.

3 more replies
Relevance 97.99%

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

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

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

2 more replies
Relevance 97.99%

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

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

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

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

1 more replies
Relevance 96.76%

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

Code:

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

Is there a solution?

Is the problem related to windows 10 ?

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

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

4 more replies
Relevance 95.94%

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

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

Answer:Win 10 home 64 bit command line Sleep command

JimO said:

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



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

A little more info here: NO Hibernation just SLEEP

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

1 more replies
Relevance 95.94%

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

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

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

3 more replies
Relevance 92.66%

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)
 

More replies
Relevance 92.66%

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

Speaking UNIX: Command the power of the command line

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

Answer:Command the power of the command line

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

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

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

3 more replies
Relevance 92.66%

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

Speaking UNIX: Command the power of the command line

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

Answer:Command the power of the command line

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

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

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

3 more replies
Relevance 92.66%

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

Answer:Executing command line command anywhere ?

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





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

4 more replies
Relevance 89.38%

Is there a command line for the task manager right click on the process and executing a "Create Dump File"? I'm aware we can use ADPlus, wondering how Windows 7 does it without debug diag or windows debug tools

I ran some initial trend on my end as well. I tried capturing procmon while issuing the command. All I could see was the .DMP file getting created from taskmgr but no commands specific to dump creation

Help is appreciated

Answer:"Create Dump File" command line

See if this helps (Procdump).

ProcDump

3 more replies
Relevance 85.69%

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.
 

Answer:SET command in Command Line

10 more replies
Relevance 85.69%

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

I know I've seen it before...

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

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

Answer:Command line command to...

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

9 more replies
Relevance 84.87%

Hello everybody. I have what I thought should be a relatively straightforward question: What do I type in the command prompt in Win7 to extract all the files from inside an .exe? I remember doing it once a long while back, but I forgot how and Google is being especially unhelpful.

One result instructed me to navigate to the file's location and type:

filename.exe /A /P C:\destinationfolder

but that didn't work. I assumed it was for an older Windows version. Google got its hit from a comment saying it didn't work on Win7... Can anybody help?

Answer:Extracting files from an executable with the command prompt

Most archive-related programs (i.e. 7zip, WinRAR, etc.) have a command-line capability. You can also use unzip.exe.

There is also the Microsoft self-extractor, see this page for description.

5 more replies
Relevance 84.05%

How to remove the "Authenticated Users" "Create Folders" permission from the root of the C Drive via command-line?
I know this question has been asked many times before, but nothing works for us!
We tried the following:
Take ownership: I cannot take ownership using the Administrator account (local and Domain Admin accounts) of the root C:. Error Access Denied
Cuurent root C: owner is TrustedInstaller and acnnot be changed.
We cannot change or remove the Create Folders permission of the Authenticated Users of the root C: . Error Access Denied.
Drive C: is hidden via GPO, but many users can enter it from the File-Explorer and create folders in the root C:.
We do not want -for many reasons- to Block/ Prevent Access to C: via GPO.
We also tried to run cacls and/or icacls under the system-account (PSEXEC -i -s -d CMD). Error Access Denied.
icacls C:\ /deny *S-1-5-11:(NP)(AD)
Error Access Denied.
icacls C:\ /remove:g *S-1-5-11
Error Access Denied.
cacls c:\ /e /c /R "Authenticated Users"
Error Access Denied.
Also using GPO "Computer Configuration\Security Settings\Restricted Groups ..." does not work!
Now we have this issue on over 450 pc's on our network. Nothing work. Please help! How to remove the "Authenticated Users" "Create Folders" permission from the root of the C: Drive on command-line?


win_builder

More replies
Relevance 83.23%

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

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

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

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

3 more replies
Relevance 78.72%

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
 

Answer:How do i use the command line in xp

6 more replies
Relevance 78.72%
Question: Command line

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

Answer:Command line

Hi Alvin,

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

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

I hope this helps.

Good luck!

3 more replies
Relevance 78.72%
Question: Command Line Help

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

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

Answer:Command Line Help

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

1 more replies
Relevance 78.72%
Question: Command Line

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

Thanks-

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

4 more replies
Relevance 78.72%
Question: DEL command line

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

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

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

Help!
 

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

8 more replies
Relevance 78.72%

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

Answer:run exe via command line

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

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

2 more replies
Relevance 78.72%

Ok short version first

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

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

If that doesn't make sence heres the long version

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

If anyonw can help please do.

Answer:Need some command line help

anyone?

4 more replies
Relevance 78.72%

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!
 

Answer:Command Line Reg help

8 more replies
Relevance 78.72%

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

Answer:Log Of Command Line?

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

1 more replies
Relevance 78.72%

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

Answer:Command Line - Help

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

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

df.exe 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]

9 more replies
Relevance 78.72%

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.

Answer:Need some help on command line pls.

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

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

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

2 more replies
Relevance 78.72%
Question: command line

Hi Everyone...When I go to my computer and hit start button then the run button and type in 'ipconfig' or 'config' and some times other commands the screen comes up just for a spilt second and then it disappears. Now I have been in my registry trying to tweak my computer using 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

Answer:command line

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

2 more replies
Relevance 78.72%
Question: command line

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

Answer:command line

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

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

6 more replies
Relevance 78.72%
Question: command line

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

Answer:command line

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

1 more replies
Relevance 78.72%
Question: Command Line

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

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

Answer:Command Line

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

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

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

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

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

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

Thanks guys.
 

More replies
Relevance 78.72%
Question: DOS Command Line

Hi there-

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

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

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

As :-

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

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

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

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

I have also tried :-

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

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

Answer:DOS Command Line

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

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

44 more replies
Relevance 78.72%
Question: command line

Dear TS,

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

In that folder are several kinds of criminal offenses.

It works like this for the user:

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

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

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

Thank you very much for your attention and help,

sincerely,

Meneer Geerts.
 

Answer:command line

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

2 more replies
Relevance 78.72%

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

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

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

Answer:FTP at the command line

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

1 more replies
Relevance 78.72%
Question: Command Line

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

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

Answer:Command Line

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

11 more replies
Relevance 78.72%
Question: Run Command Line

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

Answer:Run Command Line

I know that you start with cmd

2 more replies
Relevance 78.72%

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

What am I doing wrong?
 

Answer:how do you get a command line?

10 more replies
Relevance 78.72%
Question: command line

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

Wolf
 

Answer:command line

Not without admin rights, no.
 

3 more replies
Relevance 78.72%

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

Answer:IE 6 Command line help

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

3 more replies
Relevance 78.72%
Question: command-line log?

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

i'm looking for a list of commands executed during the current windows session, but not the current 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
 

Answer:command-line log?

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

1 more replies
Relevance 78.72%
Question: command line

Are there any Windows equivalent commands for the following commands on Linux:

1.to launch a process one after another U type this:

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

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

Answer:command line

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

7 more replies
Relevance 78.72%

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

More replies
Relevance 78.31%

I run VLC from command line on Windows 7 Pro x64 with this command:
vlc.exe -I telnet --telnet-password=1 dshow:// ":dshow-vdev=none" ":dshow-adev=" ":live-caching=300" ":sout=#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:http{mux=mp3,dst=:8080/}" :no-sout-rtp-sap
:no-sout-standard-sap :sout-keep

It's start and work. I can connect to http://127.0.0.1:8080/ with another VLC and listen audio from my microphone.
But when I run this command from bat-file, VLC start and not work. I cann't connect to http://127.0.0.1:8080/
I can connect to VLC with telnet, but command "get_time" give 0. Another commands give the same output when VLC broadcast audio from microphone correct (info, is_playing, playlist, get_title). When I run VLC from command line it work correct: "get_time"
give correct number of seconds.

When I run this bat-file from command line manualy VLC run and work correct. If I run bat-file I cann't connect to http://127.0.0.1:8080/ but I can connect to VLC with telnet and all commands say that it's playing broadcast audio. Only "get_time"
give 0.

I want run VLC from task manager and then stop it.
I created question on  VideoLan https://forum.videolan.org/viewtopic.php?f=14&t=141468
But I assume problem in Windows command line promt.
Why the same command can give different result in command line and in bat-file? How can I solve this problem?

More replies
Relevance 77.9%

So I've got another command line problem. I am trying to create and edit batch files on a win 7 core i7 system. So I get to the root c directory, type edit, hit enter, and it says "edit is not recognized as an internal or external command, operable program or batch file. Why won't it open the editor?

Answer:another command line problem

Which editor are you trying to open? "Edit" is not any command line phrase I know of...

7 more replies
Relevance 77.9%

long story short i need to check my IP from a command line behind a router lol. I know there are several ways to gain your IP from online but in this situation it realy needs to be only from command line. anyone know any .exe's or commands that would allow this :-D thanks!
 

Answer:Check IP From Command Line?

7 more replies
Relevance 77.9%

Is it possible to download a file with a direct link via the command prompt in windows xp/2000 for use in a batch file? What command do you use?

I tried "copy http://ftp.newaol.com/aim/win95/Install_AIM.exe C:\Temp"...and that didn't work =)
 

Answer:Command Line Options

8 more replies
Relevance 77.9%

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

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

More replies
Relevance 77.9%

I am trying to add a user via the command line through a virtual pc I added with VMWare. I'm running windows 10, and unable to add because this is what I get when I open CMD: I can't go beyond this point, I keep getting error messages. Any help would be deeply appreciated. Thank you, Tina

Answer:Can't add user via command line

Have you tried doing this via an elevated command prompt? Right click on the start button icon and select Command Prompt (Admin)

2 more replies
Relevance 77.9%

Are there any command(s) that will output PC information?

Ex:
PC name
MAC address
IP
IP static (yes/no)
Amount of RAM
Processor Mhz
My goal is to create a bat file that will output that sort of information to a txt file. Looking to do this on a large scale.
 

Answer:Command line: PC information

11 more replies
Relevance 77.9%
Relevance 77.9%

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

Answer:New Command-Line Switches for Sc.exe

thanks for the useful tips

3 more replies
Relevance 77.9%
Relevance 77.9%

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

Answer:command line calculator

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

8 more replies
Relevance 77.9%

Does anybody know how to utilize Windows Integrated Zip/Unzip functionality from the command line?
 

Answer:Command Line Functionality

Type zip and press Enter at the command prompt for usage and switches. (unzip is its analogue.)

If you have some specific questions, post back please.

HTH

chris.
 

1 more replies
Relevance 77.9%

Hi,

As my NT system admin is on holidays, I was wondering if anybody could help me out.

I need to search for files via the command line, filtering by the file extention and date - either last modified or last accessed. I've got no problems with the file extention part.

I just can't seem to locate the relevant date flags/switches anywhere to perform this search. I need to perform via the command line as I want to include in a batch script, otherwise I'd just use the Windows Search GUI.

Thanks
 

Answer:command line searches

6 more replies
Relevance 77.9%

so i am trying to change the name of a picture in my windows 7 system through the command line. I dont want to use the gui. I enter REN , space, then the name of the file (IMAG0076.jpg), space, then CONTAINER.jpg. But it wont do it. It says, "system file not found", but I knbow that picture exists. Why won't it rename the picture?

Answer:command line problem

are you in the location where the file is located?

3 more replies
Relevance 77.9%

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

Answer:Command Line Interface

Hello Clare, and welcome to Vista Forums.

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

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

Hope this helps for now,
Shawn

2 more replies
Relevance 77.9%
Question: Command line error

Hi,


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


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

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

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

C:\Documents and Settings\Masaa>

tryed to check help from http://internet.cybermesa.com/~bstew...dprompt.html#6, but no help. I would preciate if you could help me alittle.



Matti Lehmus

More replies
Relevance 77.9%

So I'm geting a new Hard drive for my HTPC and I Watched and Saved all of my TV Shows and Movies to another HDD but is there any way I can save the directory tree (The whole list of Directires and all of the Sub direcories in each folder) To a Text file
Maybe along the lines of some thing like this

Code:

G:\
G:\ Recorded TV Shows\
G:\Recorded TV Shows\Family Guy
G:\Recorded TV Shows\American Dad

But in order and with all of my folder and subfolders Thanks
 

Answer:Command Line\ Dos GURUS I need Help

A few methods:

dir /s g:\ > "%userprofile%\Desktop\filelist.txt"

dir /s /b g:\ > "%userprofile%\Desktop\filelist.txt"

dir /s /w g:\ > "%userprofile%\Desktop\filelist.txt"

Each of those should leave a file on your desktop. I recomend the third one.
 

2 more replies
Relevance 77.9%

Hi,

I'm writing a little program in VB6 to link in with our new intranet we are building.

It's got some buttons on it as shortcuts to info pages.
The url is something like:
http://server/cgi_bin/abc.pl?id=1&name=mike

When the button is clicked, it launches IE via the command line, with the right page.

This works fine in Win95, but in Win NT & 2000 the url gets chopped off at the &

The command I'm using is:
start http://server/cgi_bin/abc.pl?id=1&name=mike

As I say, fine in Win98, just NT & 2000, same problem if you type the command at the command prompt.

Cheers
Mike
 

Answer:Ampersands on command line

To get ampersands to work properly on the command line in Win2k/XP, you need to put quotes around either just the ampersand, or everything from the ampersand on.

For example:

start http://server/cgi_bin/abc.pl?id=1"&"name=mike

-or-

start http://server/cgi_bin/abc.pl?id=1"&name=mike"

Hope this helps.

...
 

2 more replies
Relevance 77.9%

When I moved into XP from my computer I really didn't like Documents and Settings XP uses, so I created a My Documents in my root directory, similar to what Win98SE uses.

Nowadays I'm running some software that needs the Command line as a equivalent to DOS, and I ran into an odd problem.

My Documents folder seems to be invisible to the Command line. I could not enter the folder using the Command line at all. I solved the problem by renaming the folder to Bills Documents, but it is kinda odd.

Is there an attribute I'm missing somewhere? Thanks.
 

Answer:XP Command Line and My Documents

In both My Documents and Bills Documents did the folder name contain a "space"? Did you try the shortened version like mydocu~1 or maybe "my documents"?
 

7 more replies
Relevance 77.9%

Hi,i use a 24 hours time clock under my windows OS.if i use a command line like the following ones:Code: [Select]set t=%time%
set tm=%t:~0,2%%t:~3,2%%t:~6,2%
and time is 09:52:38 in the morning, the %t% will be equal to " 9:52:38".instead of that i would like to get "09:52:38", so the hours with a 0 in front of them.how can i do that ?thanks a lot,A.

Answer:command line to get time with 0

1. Use string replacement to change all spaces in %tm% to zeroes. In fact there will only ever be one space, at the start, when the hour is 0 to 9.Code: [Select]@echo off
set t=%time%
set tm=%t:~0,2%%t:~3,2%%t:~6,2%
set tmzero=%tm: =0%
echo      t = "%t%"
echo     tm = "%tm%"
echo tmzero = "%tmzero%"Output...Code: [Select]     t = " 8:32:14.07"
    tm = " 83214"
tmzero = "083214"Alternatively...2. Maybe you prefer to test if the first character (offset 0) of %tm% is a space, and if it is, make a new string composed of a zero character and the characters of %tm% from position 2 (offset 1) to the endCode: [Select]@echo off
set t=%time%
set tm=%t:~0,2%%t:~3,2%%t:~6,2%
if "%tm:~0,1%"==" " set tmzero=0%tm:~1%
echo      t = "%t%"
echo     tm = "%tm%"
echo tmzero = "%tmzero%"
Output...Code: [Select]     t = " 8:41:39.75"
    tm = " 84139"
tmzero = "084139"Alain, since your name sounds like you are French or at least francophone. I would like to tell you that although I am rosbif de chez rosbif, I am a big fan of a French rock group called INDOCHINE. Have you heard of them?

6 more replies
Relevance 77.9%

A few weeks ago I tried to download the new msn messenger and it couldn't be installed, it said corrupted file. I chose to ignore it cause it was just msn, then two days ago I was installing photoshop and the same thing. So I did a system recovery, thinking it was just that my computer was too full of junk, and when I rebooted, I tried re-installing firefox, msn, abc, and it says various message for some it says: low disk space (for file swapping) or a damaged cabinet file, and for others it says :

NSIS Error

The installer you are trying to use is corrupted or incomplete
this could be the result of a damaged disk, a failed download or a virus

You may want to contact the author to obtain another copy

It may be possible to skip this check using the /ncrc command line switch

It's not a virus, cause I ran norton and nothing came up..can anyone help me with this???

Answer:Can't seem to install anything..command line

Hi seansmythe and welcome to TSF !

What's your hard drive brand and model ? If you have no idea you can go to the device manager (start => run => devmgmt.msc), expand disk drives and tell us the exact model ID you'll see.

Do you have the XP CD ?

Check the event viewer : start => run => eventvwr.msc. Search the different sections there. Report the recent errors and warnings with the name of the source, the event # and the text under description when you double-click the error (you'll have to highlight the text and use ctrl+c/ctrl+v to copy/paste it since right-click doesn't work there).

Could you post your system specs ? Check the link in my sig. If this is a laptop brand and model will do. If this is a desktop we'll need the infos about your power supply. Open the case and tell us what you see on the sticker that's on the side of the power supply block : brand, model, total wattage and amperage on each rail.

4 more replies
Relevance 77.9%

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?
 

Answer:Mapping with the command line

10 more replies
Relevance 77.9%

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
 

More replies
Relevance 77.9%

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

Here is my command line setting currently:

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

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

Answer:WinRAR command line

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

2 more replies
Relevance 77.9%

Hi everybody,

in terms of anti exe tools like Bouncer or ERP I see people talking about importance of "command line white-listing". I did some research but did not find any useful information on what this exactly means nor in which circumstances it is useful / necessary.

I guess that a tool that is not white-listed by path also can't run if started using the command line. So "command line white-listing" means, that an already white-listed program could only run using certain command line parameters?

Im bit confused about the topic. Could you help me out?
 

Answer:What is command line whitelisting?

In my understanding, the specified program can execute only whitelisted command lines. So, instead of whitelisitng the whole process, and therefore all of its command lines are whitelisted, the command lines of this process are selectively whitelisted. This avoids malware from readily using the vulnerable process to execute unrestrained. This gives more security.
 

9 more replies
Relevance 77.9%

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

Answer:how to navigate the command line

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

type:

cd \program files\'Name of folder'

Does that help?

3 more replies
Relevance 77.9%

everytime i try and start a command line program, the program flickers then exits, this is extremely irritating and i am trying to run command lines with no luck pleaseee help me out on this one!

Answer:Command line error!!

Howdy d213753

Are you clicking Run..the typing in command? Also you can try typing in cmd.exe

4 more replies
Relevance 77.9%

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?
 

Answer:Solved: Command line help!!!

EDIT: Figured it out. Thanks anyway.
 

2 more replies
Relevance 77.9%
Question: Command line usage

Hie everyone. i am new to computer science.may you please help me with the commands of command prompt and their meanings. A printable document or link to these commands would help. Thank you.

Answer:Command line usage

Hello and Welcome -Please note that the following material is very educational, and is not designed as a "put down" towards any beginner -OK - A few basis lessons for you to start with - I would first purchase or download Windows For DummiesThis is NOT being personal towards you, but it is a very Educational book -command prompt and the meanings A very basic introduction -An A-Z Index of the Windows CMD command lineMicrosoft DOS and command promptI hope you find something interesting in this lot -- Remember that it takes years to fully learn all the tricks -Thank You -

2 more replies
Relevance 77.9%

I want to open several URLs from a task scheduler so that they all appear in the same IE9 window as separate tabs. How is this possible?

More replies
Relevance 77.9%

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!

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

1 more replies
Relevance 77.9%

Hi Everyone, I have just started having Zone Alarm popping up a notice saying that COMMAND LINE UTILITY is trying to access the internet.

I haven't allowed it to do so as I do not know what it is, however it seems to be connected with an application called "MpCmdRun.exe"

Does anyone know anything about either one of these two things?

Thanks Wendy

Answer:Command Line Utility

If you have installed Windows Defender (which became offered last week as the successor to the Microsoft Antispyware beta), it is the automatic update attempting to access the newest malware definition files.

2 more replies
Relevance 77.9%

What does this program do, why does it come up in zone alarm for permission to access the internet??
Thanks
 

Answer:Command Line Utility

What program? There are many "command line" utilities out there.
 

5 more replies
Relevance 77.9%

When I am at the command line prompt (in Recovery Console), I see this:

C:\WINDOWS>

Okay, so, when I typed:

C:\WINDOWS>dir C:\

it listed all of the folders inside my C: drive... Some of my folders have names like "My Music" <-- with a space between "My" and "Music"...and others just have names like "Windows" and "Pictures", etc. with no spaces in the folder names...

Here's the thing... Everytime I type to see inside a folder without a space in the name, like this:

C:\WINDOWS>dir C:\Pictures

I get to see everything inside the folder, but when I type a folder with a space in it, like:

C:\WINDOWS>dir C:\My Music

it does not recognize the name! but it showed that it was there on the C: drive!

How do I represent a space for a folder name, without actually using a space?? It never seems to recognize the folders with spaces in their names... :suspiciou
 

Answer:XP Pro command line question...

so, would this work:

C:\WINDOWS>dir "C:\My Documents"

???
 

4 more replies
Relevance 77.9%
Question: Command line games

I am looking for a program that will let you make games that work through a command line interface. (A CLI game)I have searched Google, and have found nothing.

Answer:Command line games

You mean in the olden time when we use to play game in dos mode or window mode.Well java (not javascript) will probaly let you do it but is best to use Visual Basic C++ to build them and the file probably will be .exeThe easy way to make a good graphical game is Flash using Action Script

7 more replies
Relevance 77.9%

I am using Visual C++ 2010 Express. My main program starts

int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)

I want to be able to set some parameters on the command line when the program is executed, probably from a shortcut with the appropriate values set there.
However, when I look at the last two items nCmdShow is 1, and lpCmdLine is blank.
I have tried using GetCommandLine and that has also returned a blank string.

I have tried adding a parameter to the properties of the shortcut but this has made no difference.
Am I missing something?
 

Answer:Command line parameters in C++

I'm not a C++ programmer, but my understanding is you need to have a main() function declared which holds to parameters: the number of command line arguments and an array of their values.
 

3 more replies