I want to make a batch file, so I can save some files on another disk

On XP, you can make one. BAT file with a text editor and it will work.  On XP Professional the. BAT file that make you in word processor does not work.  Can someone help me please?

The game, 13 Sep 2012 22:41:40 + 0000, older2 wrote:

On XP, you can make one. BAT file with a text editor and it will work.  On XP Professional the. BAT file that make you in word processor does not work.  Can someone help me please?

Sorry, but what you say above is not correct. This has nothing to do
What version of Windows you are running, or which edition of this version
Windows that you are running. It has to do with your word processor and how you
use it.

What treatment do you use?
A batch file must be a text file, not a file Microsoft Word .doc, one
File WordPerfect .wpd, .rtf file, or any other type of Word
file processor. In addition, it must have the extension. bat.

You must save the file with one save slot, not a backup and make sure that
that it is saved as a text file with the extension. bat.

Moreover, in general, almost any word processing is a bad choice for
creation of batch files. A text editor such as Notepad that comes with
Windows, is much easier to use for this purpose and is a much better
choice.

Ken Blake, Microsoft MVP

Tags: Windows

Similar Questions

  • I want to make an empty file with no program that is associated with it.

    I want to make an empty file with no program associated to it, but when I try to create the shortcut displays an icon. How can I create a file with no icon on it.

    You can simply rename the file without an extension, or you can create files at the command prompt using one of the following methods:

    Use the con command copy and then issue a command CTRL + Z to exit the console example:

    stupid copy file name
    CTRL + Z

    Use the Fsutil command:

    fsutil file createnew

    example:

    fsutil file createnew myfile 0

    John

  • A way to make a batch file type a reply to himself

    Hi I want to use the command Net use in a batch file. But when I login I have to provide a name of user and password. Is there anyway that I can do the batchfile itself answer. I tried to use echo and type, but he's expecting me to type. I guess I could do it, but it will be for the family and I would like if possible without user intervention (could tell you you like this) or a better way to say it would be unattendend. In easy words, I want them to be able to double-click on the file and be on the road to 'computer '. But when I ran it just now, he did not ask anything. This just work up to that disconnect me?

    You can include the user name and password in the command:

    Drive NET USE: password \\computer\share / USER: username Boulder computer Maven
    Most Microsoft Valuable Professional

  • When you use Windows scanning how to scan multiple pages on the same thread of document? He seems to want to make a separate file for each page.

    I have thhink the question says it all. On my previous PC, when I scanned a page, it asks if you want another scan and if you did, they would all wind upward in the same folder?

    You use the scanning software provided by your scanner/printer all in one

  • You want to move the $NTUninstal files to another hard drive?

    Windows uses 9.8 GB to 40 GB hard drive, I can move all the files from $NTUninstal on another HDD to make room?

    Hi John726,
     
    Here's a similar post on this issue. Check if this may help you:
  • I want to make my 61 GB player and divide into 2, 30.5-GB disks

    How can I?

    At least reduce the space where the OS is installed is rarely a great plan unless you are very careful - and resize the Partition system can be tricky.

    The question remains - why you want to DIVIDE a disk into two?  What you are trying to accomplish, other than seeing the empty space?  ;-)

  • 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

  • How to create a silent installation batch file multiple progams

    Hello world.
    I want to create a batch (*.bat) leader who can auto install some of my programs on my CD in silence. In fact, I am the owner of a cyber-café and I format my computer once a week. After formatting and reinstalling XP, I installed some programs like Adobe reader 10.1.1 Google Chrome, Microsoft Office 2003 file formats converter, google chrome, mozilla firefox, which you know is a necessity for a cyber café user. Installing a program one takes a lot of time and somewhat frustrating. So, I want it to be automated. I post a screenshot to make it easy for you to understand the issue.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • How to make a jad file and cod file to a single file for hosting on the web server

    Hello

    I want to make the jad file and cod file is a single file, which must be installed in the blackberry.

    When I load the jad without cod file file, it loads the app

    but when I load the jad file cod file, it loads the application on the blackberry device.

    I only want a single file to be uplaoded to the server for the installation of the application.

    Help, please

    I want it to install the web server to the BlackBerry smartphone.

    Thanks and greetings

    Anthony singh

    This is not possible, that both jad and cod is necessary to install an OTA application. the jad file contains a description of the application, the cod is the real application.

  • Transcribe wants to encode the entire file, I want a clip.

    I try to transcribe on excerpt from a larger file of the source, but I can say that the encoder wants to make the entire file.

    I'm quite new to the creations, and I'm sure it's a simple mistake on my part: I select the clip (about one minute of video), go in the metadata Panel, shows the name of the element, but when I click on transcribe, the encoder displays the name of the whole of the file, and after I start the single item queue told me that coding will take four hours.

    I use 4.2.1 Mac OS 10.6.2 (MacBook Pro 2.16 Core 2 Duo)

    Thank you.

    As evil has stated previously, the transcript of speech by PrPro CS4 feature isn't yet ready for prime time. It requires crystal clear audio with little or no background noise in order to make it halfway accurate. First speech to text technology is still in its childhood years and will need to mature a lot until it becomes very useful.

  • batch file for statements to sqlplus

    Jin
    I want to run the batch file scripts, I use the following syntax


    sqlplus user1/user1@instance C:\Batch File\Create.sql
    output

    and in

    create table tab1 as .sql file (select * from emp)
    commit;

    When I double click on the file fighting his execution but the table is not created in the backend

    Please help me

    Thank you
    Angelique
    Usage: SQLPLUS [ [
    

    From the help above must be a file @before address...

    sqlplus user1/user1@instance C:\Batch File\Create.sql
    becomes

    sqlplus user1/user1@instance "@C:\Batch File\Create.sql"
    

    check the qoutes, because they are needed for names with spaces in directories.

    Ravi Kumar

    Ravi Kumar

  • How to write the sql command in the batch file

    Jin
    I m using oracle 9i on windows. I want to know how I can write the sql on the command file command. I want to use a batch file to use the sql like shutdowm command & start command and any select command too.
    so please tell how can I do?


    thxs

    Tried looking for what he superdba.

    Can't connect to sqlplus using sys using a batch file

    HTH
    Aman...

  • Vista, backups of files on a disk of Bookshelf (1. 5 t), worked, removed some daily newspapers (household), now get backup error: 0x80070005

    I am running Vista and make backups of files on a disk of Bookshelf (1. 5 t).  Everything went well (completing daily backups).  I tried to clean up by removing some daily file backups when I received the following error message: 0x80070005.  I think that what I did is to delete the files backup complete.  Now, I can't do a backup of files daily or full without getting the same error.  Any ideas?  Is it possible I can take all of the information off my shelf drive backup and start over again - as I have had to do originally?

    Hello

    This is a forum for microsoft at the link specifically for backup questions below

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

  • opening a swf file from another swf

    Hello readers,

    I worked on an application.

    There is a login screen of the application, in one of the swf, I wrote the opening code, the communications along with XML.

    Now once the user has been validated, I want to redirect the user to a XYZ.swf file and close the file login.swf else if not then I have to display an error message.

    The question may seem simple, but I'm a newbie to this.

    I would be encouraged to explore my efforts, if someone could help out me with it.

    Thank you for reading.

    Kind regards

    Jayesh Sidhwani

    You can use the loader class if you want to load another swf in your swf of connection or you can use the navigateToURL() function if you want to open the swf file in another window of browser or replace your swf of connection.

  • Comment to recover missing components after having moved from "Adobe" from program files and program files on another hard drive internal?

    Hello

    I know that the title is long, but I'll try to be clear. I am currently working a lot on Premiere Pro CS6, since I else riding between movies and my drive Windows C is saturated. Jso got the real good idea to create an Adobe folder on one of my other internal drives and y 'cut and paste' (the thing never to do...) "Adobe" from program files and program files, in order to address space. So I created a file Program Files and another program with them each in a subfolder 'Adobe'. Following this bad initiative, opening again my firstsoftware, you can imagine that I had several bugs no one telling me that it lacked components (obviously) and my renderings, which once on two resulted in a "the software has stopped Monday and needs to close" (trickier).

    I have the coup d'etat switched back the folders on drive C (story of a little more drive the nail), the missing components error message no longer appears, however problems rendering and stop persistent software.  Knowing that about 15 GB is miraculously freed himself... not what is more difficult, but also probably explains the bugs...:)

    My question is the following should I uninstall and reinstall (Creative suite) where there's a you it another solution pour everything in order? Knowing it will take anyway that my C drive is dé-sature a bit.

    Thanking you sincerely pour your help, your guidance, your time.

    You cannot move a folder from one drive to another program (as you know) because that destroys the links that the operating system must have in order to run a program

    Disable this feature to unlock your serial number... Uninstall... Install fresh... also, the Adobe programs do not LIKE to install other drivers

    Move the data files to another disk to free up space on your C drive

    C drive space http://forums.adobe.com/thread/1007934?tstart=0 see answer 4 for the parameter that you must manually change... and then delete the old temporary files

Maybe you are looking for