Problems with batch files and command.

I'm not too familiar with the support of the PC, but can follow the operational base.

I had a problem with my windows vista machine.  Whenever I started, there was a poster on my screen batch file.  This was a company script provided departmental support of PC does not recognize.  It was as if the batch file has been stuck in a mode where it would display only instead of execution.  After a bit of back & comes with our IT supports people, they agreed to look into the problem.  They went under launch programs to ensure that batch files have been executed with the cmd program.  Now, it displays a MS-DOS window whenever I start.  I don't know why this is so.

As my company IT Department is unable to help, I hope someone can give me some advice.

Is there a place to check to find out WHY this dos window appears every time and how I could fix this situation.  I can't that hope that corporate batch files are run correctly.

Thank you

Ken

Hello Ken,

1. Since when are you facing this problem?

2. the recent changes to the computer?

3. is the computer on the domain by chance?

If so, the question you have posted is related to Windows in adomain of work environment and would be better suited to the TechNet community. Please visit the link below to find a community that will support what ask you

http://social.technet.Microsoft.com/forums/en-us/itprovistanetworking/threads

If not,

I suggest you to put the computer in aclean boot state .

To help resolve the error and other messages, you can start Windows Vista by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

See the link below for more details:

How to troubleshoot a problem by performing a clean boot in Windows Vista:

http://support.Microsoft.com/kb/929135

Note:

When you are finished troubleshooting, follow these steps in the section above to reset the computer to start as usual.

Kind regards

Savan - Microsoft technical support.

Tags: Windows

Similar Questions

  • I have a problem with the files and folders on the comouter.

    Original title: files and folders to HELP you!

    Hello world

    I have never used before, so please bear with me!
    I really hope someone can help out me.
    I've never had a problem in 8 years when it comes to rename JPG files (or any files also), but a few minutes ago, I went to rename some of them, and I got the following error message: "If you change a filename extension, the file may become unusable.  "Are you sure you want to change it?"
    I have NEVER seen that before and I looked and can't find anything around him.  I noticed that all my files now have the letters "JPEG" at the end of their.  I don't know what is happening.  Any help you can give me would be greatly appreciated!
    Thank you and good night!
    (I use Windows XP 32-bit).

    Thank you very much for your quick response.

    However, I found by Google how to solve this problem, and he took every 15 seconds!
    It was just a box which should have been verified but was not.
    Thanks again!
  • Big problem with the files and Settings Transfer Wizard.

    Basically, what has happened here, it is that I did a backup of the files on the computer of a friend with the wizard to transfer to an external hard drive, but I started on the old computer and for one reason or another never get the CD Wizard so I thought that I was OK.  Don't think.  The idea was to have the backup files in case I needed to reformat the drive hard, I ended up reformatting the drive and when I finally got the installation more done with trying to run the file and Settings Wizard and when I chose the external drive that files were on and then subsequently the folder and it said that it did not contain information.  So basically I'm stuck with a complete record of .dat files, and the wizard will not let me extract the files off the drive.  Is there anyway that I can return information about the files, or I'm totally finished.

    Everything worked ok that it proved just that he did not want to me to choose the actual file as a path, but the hard drive.  It was just something simple that I pop up.  Thanks for the help but I don't know that it would have been the next problem if I didn't had not updated the operating system first.

  • Problem with opening files and demand, everything opens with Java.

    I think I clicked the wrong application to open a file and now all the application and the files are open with Java (TM) Platform SE binary.

    And now I do not know how is back to normal.

    Please help me with this problem.

    Hello

    This should help you.

    'Restore. Association of exe in Windows 7/Vista after incorrectly associating it with another program"

    http://www.Winhelponline.com/blog/restore-exe-file-Asso-Windows-7-Vista-incorrectly-associated/

    "When you run an .exe on a Windows XP, Windows Vista or Windows 7 computer file, the file can start another program.

    Run the Mr.Fixit here or you can use the manual method it y to correct yourself

    http://support.Microsoft.com/kb/950505/en-us

    And also, read information please.

    'Change the programs that Windows uses by default'

    http://Windows.Microsoft.com/en-us/Windows7/change-which-programs-Windows-uses-by-default

    See you soon.

  • Problem with opening files and programs after the attack "rogue security."

    Earlier this year, I met a rogue security program called Windows Security 2011. I had removed it, but I'll still have some serious problems. I found another user here, who had a similar encounter: http://answers.microsoft.com/en-us/windows/forum/windows_xp-windows_programs/exedirectory-file-association-problems/5dcd9044-8b57-43e0-a3bc-0c966326f0da

    "But since the incident, the PC has struggled to open .exe files. If I open Mozilla Firefox, for example, it will ask me to specify the program to run it with. I can browse the OS and find the firefox.exe and open it with that, but it won't allow me to check the box "always use this option. "

    It's exactly the same problem that I have now, as well as some sections of the control panel not working not at all, but there is no answer about what to do after the malware has been removed. Is there a way this can be fixed now?

    Hi Lapeul,

    You can create a new user account and check if you can solve the problem.

    How to create and configure user accounts in Windows XP

    If you are able to resolve the problem, you can consult the following article to fix the damaged user account.

    How to recover damaged Windows XP user profile

  • Problem with CSS file and theme 20

    There is an error in the 20 theme in all 3.x versions. The definition of required field includes the Help cursor.

    .t20RequiredLabel {cursor: help; police-weight: normal; white-space: nowrap; color: #343434 ;}}

    It should be:

    .t20RequiredLabel {make-weight: normal; white-space: nowrap; color: #343434 ;}}

    Is there a way to get it corrected in future releases so that I don't have to continue asking that my s/n s to fix after installing or upgrading to a new version?

    Thank you

    Mark

    Hello

    You are absolutely right, that without a help link should not have the help that are associated with cursor.

    He will be put in the queue of bug.

    Carl

  • I have problems with pdf files, sent to me by e-mail, download doc on my canon printer and the creation of pdf file to send.

    Original title: pdf files

    I am running microsoft windows xp home edition 2002. I always have problems with pdf files, sent to me by e-mail, download doc on my canon printer and the creation of pdf file to send. I use microsoft works Task Launcher 2004 edition.

    Is there an easy way to pass so I can handle pdf files?  Can anyone help?

    Thank you Tim

    Hello

    Please provide us with more specific information on the issue. Your post is a bit confusing.

    If you need to open the PDF files, you will need to install a PDF reader.

    If you try to print in PDF format, you must install Adobe Reader.

    Reference: http://www.adobe.com/downloads/

    THIRD WARNING:
    Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • I have problem with Muse files when you work at home with my laptop and when I open the files again in my work with my IMac.

    I have problem with Muse files when you work at home with my laptop and when I open the files again in my work with my IMac.

    I do: when I am uncomfortable with the laptop I save the files on the laptop, then on my external hard drive. Then, when I'm at work, I opened the drive, but the Muse says every time, that so many links in the 'active' is missing. And it takes a lot of time to get all the missing link. Like today I had to open a file of Muse from the external hard drive, and there are about 100 links that are missing.

    How can I solve this problem

    the best thing if you are a user of creative cloud is to store the files in a folder in your account of cloud instead of transferring the files from one computer to another.

    If you are not a Subscriber cc then Dropbox or iCloud will work as well.

  • I just looked at problems with importing files from nikon D810 in LR 5.7 it pop a window saying it can't read the files to work on an imac 27 "yosemite on my mac pro running after several times he finally managed to read files and import them into LR

    I just looked at problems with importing files from nikon D810 in LR 5.7 it pop a window saying it can't read the files to work on an imac 27 "yosemite on my mac pro running after several times he finally managed to read files and import them into LR, I never had this problem before there was a sort of update that could from cause?

    What is the destination folder that the date be underneath?  In the top right it says users who suggests, you try to put the photos on top of your username instead of under your username.  Maybe that's the problem.  So change your folder in the drop-down list at the bottom right of what it should be rather than users, and if you're going to show us the destination of your photos at least scroll through the list of folders down right so that we can see which is the white highlight.

    Here is how mine looks like if I want to put my photos imported under my subfolder users - Steve - photos by date:

  • Problem with the report and the system of axis 2d

    Hi, I'm trying to write a script with tiara, who wrote a 2d axis system in the report but I'm having a lot of problems with it.

    What I'm trying to do, is make 3 or more system axis 2d in the report, each displaying a part of the data of 2 channels (x = ch0, ch1 = y).

    With only 1 graphic I get what I want, but when I try to add the 2nd or the 3rd, they show without my defined x-scale and with the offset x different from the first chart.

    I tried everything, but I could not remedy

    I added as attachments the .csv file that I use to ch0 and ch1 and 2 screen shoots "what I get" (about the problem with the script) and "what I hope to get" (done manually, is what I'm trying to get the report)

    Any help will be appreciated, thanks in advance

    Ierman

    I'll post my code here:

    Dim Xscale, Yscale
    XScale = Array (0,25,0,5,49)
    Yscale = Array(-0.2,0.2,-0.2,10,4)
     
    Call PicDelete()
    Call GraphObjNew ("2D-Axis", "2DAxis1")
    Call GRAPHObjOpen ("2DAxis1")
    D2AxisTop = 1

    D2AxisBottom = 70
    D2AxisLeft = 1
    D2AxisRight = 1
    Call GRAPHObjOpen ("2DYAxis1_1")
    D2AxisyScaleType = "manual".
    D2AXISYBEGIN = Yscale (0)
    D2AXISYEND = Yscale (1)
    D2AXISYORIGIN = Yscale (2)
    D2AXISYTICK = Yscale (3)
    D2AXISYMINITICK = Yscale (4)
    Call GRAPHObjClose ("2DYAxis1_1")
    Call GRAPHObjOpen ("2DXAxis1_1")
    D2AxisxScaleType = "manual".
    D2AXISXBEGIN = Xscale (0)
    D2AXISXEND = Xscale (1)
    D2AXISXORIGIN = Xscale (2)
    D2AXISXTICK = Xscale (3)
    D2AXISXMINITICK = Xscale (4)
    D2AxisXTxt = ""

    D2AxisXColor = 'black '.

    D2AxisXTickAuto = 1
    D2MTickLineWidth (1) = 0.1
    D2MTickLineType (1) = "solid".
    D2AxisXTickSize = 60
    D2AxisXTxtAutoCo = 0
    D2MTickColor = "red".
    Call GRAPHObjClose ("2DXAxis1_1")
    Call GraphObjNew("2D-Curve","New_Curve")

    Call GraphObjOpen ("New_Curve")

    D2CCHNX = "[1] / [1]" "

    D2CCHNY = "[1] / [2]" "

    D2CurveColor = "red".
    Call GraphObjClose ("New_Curve")
    Call GRAPHObjClose ("2DAxis1")

    Dim Xscale1, Yscale1
    Xscale1 = Array (25,50,0,5,49)
    Yscale1 = Array(-0.2,0.2,-0.2,10,4)
    Call GraphObjNew ("2D-Axis", "grafic")
    Call GRAPHObjOpen ("grafic")
    D2AxisTop = 40

    D2AxisBottom = 37
    D2AxisLeft = 1
    D2AxisRight = 1
    Call GRAPHObjOpen ("2DYAxis1_2")
    D2AxisyScaleType = "manual".
    D2AXISYBEGIN = Yscale1 (0)
    D2AXISYEND = Yscale1 (1)
    D2AXISYORIGIN = Yscale1 (2)
    D2AXISYTICK = Yscale1 (3)
    D2AXISYMINITICK = Yscale1 (4)
    D2AxisYTxt = "" ' testo asse label y
    Call GRAPHObjClose ("2DYAxis1_2")
    Call GRAPHObjOpen ("2DXAxis1_2")
    D2AxisxScaleType = "manual".
    D2AXISXBEGIN = Xscale1 (0)
    D2AXISXEND = Xscale1 (1)
    D2AXISXORIGIN = Xscale1 (2)
    D2AXISXTICK = Xscale1 (3)
    D2AXISXMINITICK = Xscale1 (4)
    D2AxisXTxt = «»

    D2AxisXColor = 'black '.

    D2AxisXTickAuto = 1
    D2MTickLineWidth (1) = 0.1
    D2MTickLineType (1) = "solid".
    D2AxisXTickSize = 60
    D2AxisXTxtAutoCo = 0
    D2MTickColor = "red".
    Call GRAPHObjClose ("2DXAxis1_2")
    Call GraphObjNew("2D-Curve","New_Curve1")

    Call GraphObjOpen ("New_Curve1")

    D2CCHNX = "[1] / [1]" "

    D2CCHNY = "[1] / [2]" "

    D2CurveColor = "red".
    Call GraphObjClose ("New_Curve1")
    Call GRAPHObjClose ("grafic")

    Hi lerman,.

    Here is an edited version of your code that works on my computer.  A problem that I know that I fixed it was that your presentation of the STATE was in the name-oriented mode but you use the variables based on the number to assign it X and Y channels.  The execution of these commands in a loop FOR makes it much easier to debug the code and to avoid any annoyance at first.

    Brad Turpin
    Tiara Product Support Engineer

    National Instruments

  • I need help doing things with batch files

    This applies to All THE VERSIONS OF WINDOWS and probably relates more to MSDOS than any other.

    cmd.exe or notepad.exe and comand.com applications

    I'm doing some kind of Setup.

    I have a tool nice lottle I did that works with a batch file. and he has 3-4 text file sthat go with it. I wanted to make a batch file which would act as an installer. make the MainMenu.txt, ReadMe.txt, Credits.txt, DISCLAIMER.txt fill them with the correct values, then make the .bat file that acts as the user interface. and when this launch the batch file under its weight made it has created (and not as a child of cmd window) then delete itself so all that remained was the new files...

    I tried the command IF [NOT] EXIST filename command because it's the only IF the syntax I have any slight understanding of

    EXAMPLE OF

    mkdir EXAMPLE

    EXAMPLE of CD

    IF [NOT] EXIST MainMenu.txt GOTO CMAIN

    : CMAIN

    ECHO the text I want to be in the lead > MainMenu.txt

    pause

    EXAMPLE OF

    but when I run the command 'Betainstall.bat' file, it opens and then closes immediately. What would be nice if it was the CASE of WAT I TOLD it to. it doesent need to be opened, because it only creates a directory then makes em fills with files on and its done... but it doesent do anything. and since it closes too quickly it's a bit hard to read all the messages that appears. (im not fast enough for print scrn) and addition of the pause at the end did not a thing. and / k has ever helped me before

    so someone who knows nothing about MS-DOS or command prompt this is a great opportunity to showcase the prowess of youre

    I just need to find how to get cmd to delete the last entry of Y.

    If I could get the Y equal to NULL it should write the %M % and not okay right?

    For the first part of what I mentioned above, you can simply do:

    SET M =

    The M variable will then to null.

    However, for what is in quotes: No. get M set to null will do what you want.  Use the command I mentioned in my previous post.  Note the signs double% to get the result of %M % in the command of the user file.

    IF the echo % M %! == 1 ! Goto: whatever > USER - X 2. 0.Bat

    Then the USER - X 2. 0.Bat will contain the line:

    IF M %! == 1 ! Goto: whatever

    Now, from your original:

    SET /p M = type OK or CANCEL, and then press ENTER:
    IF %M % IS INSTALL OK GOTO
    IF %M % IS CANCEL LEAVE
    : INSTALL

    You can see that if the M variable contains not exactly the capitals OK or CANCEL capitalized (that you specified), then the second half of each IF statement will not be executed. Your sample of what is getting written to the file USER - X 2. 0.Bat, you typed tiny ok and it works again the part of the installation of your batch file because he simply fell thru to the: part of the INSTALLATION.

    What you want is a batch program that allows to anticipate all possible ways that the user could answer "correctly". When you check if the variable M is equal to OK, it checks that specifically. All other cases the letters will not be the exact match.  That's why I ran three different lines looking for okay, okay, then OK.

    The fall same thru happen here:

    SET /p M = press on, then ENTER:
    IF %M % == y GOTO RUN
    : RUN

    Because the only thing you're looking for is there it will be Goto: EXECUTION of the IF statement , if (and only if) M is exactly there, but if it is equal to anything else it will fall through to the next line which is your: block RUN. As you have, any response is typical for the "SET/p M = press on, then ENTER", it's going to fall through and get to the: RUN block. The only exception is that if the user presses the enter only key, it will then generate the error message that I mentioned and end the batch file. That's why I used the! at the end of the two %M % and on the end of what we test, such as OK! This test if the user pressed the key entry in itself without the batch file, which gives an error.

    So, instead of this:

    IF the ECHO %M % == 1 GOTO RUN > USER - X 2. 0.bat
    IF the ECHO %M % == 2 GOTO README > USER - X 2. 0.bat
    IF the ECHO %M % == 3 CREDITS GOTO > USER - X 2. 0.bat
    IF the ECHO %M % == 4 GOTO WARNING > USER - X 2. 0.bat
    IF the ECHO %M % == 5 GOTO EOF > USER - X 2. 0.bat

    Use this:

    IF THE ECHO % M %! == 1 ! GOTO RUN > USER - X 2. 0.bat
    IF THE ECHO % M %! == 2 ! GOTO README > USER - X 2. 0.bat
    IF THE ECHO % M %! == 3 ! GOTO CREDITS > USER - X 2. 0.bat
    IF THE ECHO % M %! == 4 ! Disclaimer GOTO > USER - X 2. 0.bat
    IF THE ECHO % M %! == 5 ! GOTO EOF > USER - X 2. 0.bat

    Or use which does the same thing, but look more pretty:

    IF the echo % M %! == 1 ! Goto: run > user - X 2. 0.Bat
    IF the echo % M %! == 2 ! Goto: ReadMe > user - X 2. 0.Bat
    IF the echo % M %! == 3 ! Goto: credits > user - X 2. 0.Bat
    IF the echo % M %! == 4 ! Goto: warning > user - X 2. 0.Bat
    IF the echo % M %! == 5 ! Goto: EOF > user - X 2. 0.Bat

    (Upper and lower case for the block names all answer the same, whereas they are not nit-picky as the tests within the statement itself. I put the: before the labels of block in the IF statement so I know it's a label. I left the uppercase EOF because it is an acronym for end of file. And I use IF instead of If since it's a small order and I like it to stand. This bit is just my personal preference.)

    Another thing, you can make is for your first redirection in User - X 2. 0.Bat is to use the single > crush entire previous existence of this file. Then for forwarding the following him, continue the > who is the operator 'Add file '.

    Better yet would be first to check if the file of the user - X 2. Bat is and give the user the possibility to replace, rename, or to have an abortion.

    Clear as mud now? :)

    Edit: I just looked and I see that you are already doing the single > for the first time. Pass over my hikes on this part. Laughing out loud

  • LEARNING OF BATCH FILES AND WINDOWS CANNOT FIND ' C:\DOCUMENTS'__

    Technical info: Windows XP Pro SP 2. Microsft Office home and Student 2007. AVG Free 9.0.

    Hello

    I am trying to learn the basics of Batch files and am confused right now. I can get a. BAT file to produce a BACK screen and play with some commands, but when I try to get a. BAT file to open a MS Word 07 Doc I get the following message

    Windows cannot find 'C:\Documents '. It stops at Documents. When infact the entire address would include Documents\testdoc or something else. I use Notepad to write the. BAT files.

    If I go into the file target itself and copy and paste the address in XP search utility, it locates the file (with a full name), instantly. But if I do the same copy and paste, paste the address directly in. BAT file for example: C:\windows, DEPARTURE etc etc... It is just straight up with the above mentioned error message.

    All advice forge kindly appreciated. My ultimate goal is to learn how to create a Batch file that will erase the files in different directories about five or six on the click of a button.

    Thanks Mick.

    I'm not an expert in writing .bat files. If no one else is here, you should post on the MSDN forums or there may be a group of newsgroups for .bat file writing.

    http://social.msdn.Microsoft.com/forums/en-us/categories

    I'm sorry that I wasn't able to help you.

    MS - MVP - Elephant Boy computers - don't panic!

  • How can I return to 6.3 4.0 I have never had a problem with 3.6 and now 4.0 crashes all the time tell me how to go back

    How can I return to 4.0 3.6 I've never had a problem with 3.6 and now 4.0 crashes all the time tell me how to go back

    Downgrade to Firefox 3.6 first of all uninstall Firefox 4, but do not select the option 'remove my Firefox personal data '. If you select this option, it will delete your bookmarks, passwords and other user data.

    Then you can install the latest version of Firefox 3.6 available to http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your favorite courses, passwords etc.

    I recommend, to avoid possible problems with decommissioning, accessing your profile folder and delete the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Delete these files will force Firefox to rebuild the list of installed extensions, check their compatibility and cancel the toolbar customizations.

    For more information on how to find your profile folder, see https://support.mozilla.com/kb/Profiles

  • Problem with the file naming

    I can change my names of files successfully, mp3s to be precise, uniformly. Windows Explorer or Altap Salamander, there really is no problem with my file name.

    The problem starts to appear when I put my mp3s in my playlists (VLC, WMP, media player in my cell phone). The old file name keeps showing even though I have already changed the original/source file.
    For example, a song I downloaded bears the title "WTF * Chris Brown-int ' love ' so I changed it to 'Chris Brown - International Love' since that's how I name not all the thousands of my mp3s. But when I added the song to my playlist, the original title is one that appears and not the new. This case is the same with most of my Media Player.
    Is it possible for me to keep my desired/preferred file names when using the Media Player files? It's really so frustrating.

    Usually, media players like WMP does not show the name of the file of the song, but display the title and artist in the song tags (also known as metadata). To change these tags in WMP, add your songs to the library WMP library, right click on the tag you want to edit, and select Edit.

    You can also change the labels of the song with external tools such as Mp3tag.

  • Problems with Windows Update and load XP SP3

    I had a problem with my system and had to replace my HARD drive and reload XP and all my applications and data.  Now, I installed SP2 and try to install SP3. Windows Update does not work (get the 080244019 error code x) and when I try to install the SP3 files from the Microsoft site, it'll run about halfway through and then stop and hang, displaying the message "Finish Installation" with bar at halfway of the progression.  I tried the MSRT and FixIt nothing helps.  I checked services.msc to see all the required services are enabled or started.  I read that some malware will be stop some services without notice.

    After a few attempts to load the file SP3 failed, check Add/Remove programs in Control Panel Windows XP Service Pack lists 3 but no file size or to update the date information as with other programs.  My browser is IE8 and I was doing some Hot fix for Windows XP downloads, this adventure started about 3 weeks ago, but no other automatic update downloads.  I use the following McAfee provided by my ISP for protection AV and firewall with regular full scans.  Scan today revealed there is apparently a single trojan file that cannot be deleted, but there were no further details.  My system is also fully functional; I seem to get the updates for McAfee and other applications OK but not SP3.  I received or otherwise installed following updates or Hot Fix for XP downloads in the past 3 weeks:

    KB954550-v5

    KB932823-v3

    KB915800 v4

    KB884020

    KB926239

    KB2618444 (Windows IE8 security update)

    I found an answer on another forum on editing the registry for the "/ Edit EDWARD CSDVersion value ' but have not yet tried waiting for any response to this request.  I'd like some useful suggestions.  Thank you and happy new year!

    Thanks for the quick response.  I did some checking on my system, I have XP Home Edition ships with the system bought in July 2007.  Add/Remove Programs shows that the aborted install XP SP3 and IE8 installation; I tried to load the SP2 file but it doesn't show here as an addition, so it may have been part of the original XP CD and I just crush.  Even for IE7 so I am not able to drop back to all recommend you.  I will try your solution later today and post my results. I saved SP2, SP3 and IE8 in my office and a flash player to reload later according to your instructions.  Stay tuned.

    It would be unusual for a CD of Windows XP (official) to have integrated Internet Explorer 7.

Maybe you are looking for