Notebook programming

I want to make a bat file program that calculates a sum, the equation is wage hour divided by 60, * time in minutes. the operator will input data, then it must calculate the sum but instead, he told them the sum and not the answer. The script is the following...

Off @Echo
CLS
: Password
Set input =
set the parameter input/p = password (entry and then press enter):
If the % input % == cheese goto YES
If not % input % == goto NO cheese
: Yes
CLS
GoTo CALCULATOR1
: NO.
Echo INVALID PASSWORD
pause
Goto, password
: CALCULATOR1
Set wageph =
Set /p wageph = salary (per hour):
pause
GoTo CALCULATOR2
: CALCULATOR2
CLS
Set timem =
Set /p timem = time (in Minutes):
pause
GoTo CALCULATOR3
: CALCULATOR3
CLS
the value of answer =
Set/p response = % wageph % / 60 * % timem %
Echo response %
pause

Hi James,

The question you posted would be better suited in the MSDN Forums. I would recommend posting your query in the MSDN Forums.

MSDN forum

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

Hope this information helps.

Tags: Windows

Similar Questions

  • Pavilion Notebook 15-ab243cl: transfer from old computer to new computer programs

    We just bought a new HP Pavilion Notebook, with 10 windows, to replace its old HP Pavilion dv4-2153, which has been upgraded to Windows 10.  Now we have a problem - how to move programs and files to the new.

    I found two products on the market that claim to be able to do this, but critics of both of them include some less then incounaging stories.  I hope that HP has developed some good software to do this, especially between their own products, or at least can recommend a reliable software.  They must be proud when a customer likes their products well enough to replace genre by genre.

    Any help here?

    Thank you

    Dennis

    dfsplett

    Hello;

    Let me welcome you on the HP forums!

    I read your message want to migrate applications from one PC to another and wanted to help.

    Sorry to disappoint you, but HP doesn't no matter what app migration software (that I know).

    However, LapLink does – in its range of PC Mover of products.  The one who moves in the apps is the Pro version.

    I know it works because I used it myself.

    The new version, Win10, has an additional feature that you can migrate applications from an Image file.

    Which means, you can make a backup of the complete picture of your old PC (and to do this, I recommend Macrium Reflect - further) a key USB or external hard drive, which will allow the new PC, install PC Mover there - and restore apps directly from the backup image.

    Macrium reflect (MR) provides a FREE version that can be used to image and restore partitions or drives together.

    What I recommend is the following:
    (1) download and install Macrium reflect (MR)
    (2) run M. and choose the option: "Create an image of the partition (s) required to backup and restore Windows" to write a full backup to an external drive or USB key

    You have NOW a backup of the image of the old PC - and all of the information required by PC Mover to migrate applications to the new PC.

    Good luck

    I'm a volunteer and I do not work for, or represent, HP.
    ========================================================================
    If you feel that my suggestions helped you, please click on the thumbs-up symbol to say thank you!

    If they helped to solve your problem, please click 'Accept as Solution' to help others find similar information.

  • Programs uninstalled accidentally and now, all I get is a notice for notebook with language scrambled. Cannot use the recovery.

    Desktop icons show the notebook to various programs.

    Hello

    1. what program you uninstalled recently?

    2 are you able to open all programs?

    3 are. what recovery you referring?

    Method 1:

    Try the steps in the following Microsoft article and check if it helps.

    When you run a file .exe on a Windows XP, Windows Vista or Windows 7 computer, the file may start another program: http://support.microsoft.com/kb/950505/

    Warning: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: 322756 (http://support.microsoft.com/kb/322756 )

    How to back up and restore the registry in Windows

    Method 2:

    Try to perform the system restore if it took place recently and check if it helps.

    How the system restore?

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-system-restore

    Hope the information is useful.

  • My programs are appearing in my notebook.

    My programs are appearing in my Notepad & that I can't open my programs at all and when they appear in the notebook they read this weird and this language that not... I really need help.

    Hello

    When you double-click a. EXE file, the program may not start, instead, it can open in Notepad
    (view the contents of .exe), or you can jump into any other application.
    http://WindowsXP.MVPs.org/exeasso.htm

    Restore the .exe Windows Vista file association, after badly with another application
    http://www.Winhelponline.com/articles/165/1/restore-the-exe-file-association-in-Windows-Vista-after-incorrectly-associating-it-with-another-application.html

    If necessary:

    How to set default Associations for a program under Vista
    http://www.Vistax64.com/tutorials/83196-default-programs-program-default-associations.html

    How to associate a file Type of Extension to a program under Vista
    http://www.Vistax64.com/tutorials/69758-default-programs.html

    How Unassociate a Type of Extension file in Vista - and a utility to help
    http://www.Vistax64.com/tutorials/91920-unassociate-file-extention-type.html
    Restore the Type Associations by default Vista file extensions
    http://www.Vistax64.com/tutorials/233243-default-file-type-associations-restore.html
    How to view and change an Extension of filename on Vista
    http://www.Vistax64.com/tutorials/103171-file-name-extension.html

    I hope this helps.
    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • MEU note quebrou e nao tenho como desinstalar o don't CC p download os programas no novo notebook. Como FACO?

    MEU notebook e quebrou nao tenho com desinstalar o don't CC para download os programas no novo notebook. Como FACO?

    Nataliac84843320,

    Please see the city link below to install creative cloud app-

  • HP Pavilion Notebook-15-p108tx: problem connecting with specific programs

    Hi, I had problems connecting with specific programs recently. I'm still able to communicate online through web browsers. Mozilla Firefox works fine, but Google Chrome still has some problems loading of specific pages or they don't load at all. The main programs I am having difficulties with are mainly games platform programs like Steam, Battle.net, and League of Legends, and I'm unable to go online or to connect to their servers.

    I never had no problem connecting like these last two years that I've owned my laptop, until recently. I think it was the 6th or 7th of may these problems started.

    I updated my drivers and was constantly check to download the most recent. I don't know if it's my internet provider, but I was also constantly check the State of the network to ensure that the services are very good.

    If anyone else has this problem and if there are any suggestions that you think could help solve this problem, it would be appreciated.

    Thank you

    Jasper

    Hi Jasper,.

    Thank you for the update. I think that your computer have a rootkit infection. Most of them were inside of the Chrome Extensions.

    Here's what you need to do.

    Open chrome

    Click on the Menu bar in the upper right

    Click more tools

    Click Extensions

    Please search for suspicious extensions that does not belong to the computer, especially ads. Once you identified, simply click the trash can icon then Chrome close then reopen it again to see if you can connect to your desired game. If this isn't the case, then proceed as follows.

    Manual removal of suspicious files (if you are uncomfortable with it. If this is not the case, then run System Restore from safe mode with command prompt)

    Manual removal (I miss the old days of MS virus removal )

    Go to RUN type %temp% , and then delete all folders by pressing SHIFT + DELETE

    Go to Control Panel and then locate all the apps that you think a form of ads

    Go to safe mode with network. Run Malwarebytes in that State

    Then run Tweaking tool to fix everything that has changed since your computer

    http://www.Tweaking.com/files/setups/Tweaking.com_windows_repair_aio_setup.exe

    If your not comfortable with the troubleshooting steps may perform the system restore on the day, it was working fine.

  • Laptop HP 250 G4 (N0Z81EA: how to programming tools HP NB DMI on HP 250 G4 Notebook PC (N0Z81EA))

    After replacing motherboard: I created & used a dedicated set of UEFI tools to program DMI and Intel (NbDmiFit - 2.0F.zip) brand, but after booting from a USB UEFI drive: Error Message - the tool does not support this platform. Help, please!

    I started in MS-DOS portable mode, I tried the nbdmifit HPBC375.exe - 2.0F.zip, after entering the ID function, SKU, SN, SUBMISSION, product name: I started mobile in WinPE and locked MPM. The problem is resolved.

  • HP Pavilion notebook dx6500 webcam does not say should be used in another program.

    Original title: web cam a malfunction.

    I have a pavillion dx6500 laptop with a webcam integrated.  When I go on Windows live messenger or Skype, she said that my webcam does not work and should be used in another program.  Does anyone know a simple solution?  It's frustrating.  Thank you.

    Hi judyhawthorne,

    1 how long have you been faced with this problem?

    2. have you done any hardware changes or software on your computer before this problem?

    3. what operating system is installed on your computer?

    You can set up your computer in a clean boot state, and check if the problem persists. It will start Windows 7 by using a minimal set of drivers and startup programs and helps eliminate software conflicts.

    The following link has steps showing how to perform the clean boot: http://support.microsoft.com/kb/929135

    Note: Please make sure that the computer is configured to start as usual according to step 7 of the article: how to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7: http://support.microsoft.com/kb/929135

    Reference: Using the Webcam with the Internet e-mail software

    Free chat: use instant messaging and webcam to stay in touch

    Hope the helps of information.

  • Need to transfer all the data/program/music of old notebook Notebook again.

    Hello

    I am planing to buy a new laptop PC: Hp pavilion Dv6-6190SE or Dv6-6166TX is Dv6-6168TX.

    I have Hp pavilion Dv6 - 2177ca and plan to sell before you buy a new laptop.

    I have some data/programs/music and software on the Dv6 - 2177 ca, I need to be on my new laptop.

    I thought I'd take a backup using Windows7 backup of the Dv6 - 2177 ca and restoration for the new laptop.

    Do you think it will work?

    Will you please suggest me the best alternatives to transfer my programs/data/music/contacts whole without installing them again manually because it is a very painful process.

    Will you please answer soon because I'm going to buy this new Pc soon.

    P.S. Please also tell me if the Dv6 Dv6-6190SE-6166TX or Dv6-6168TX have backlit keyboard. I tried to communicate with the local people of Hp in my country, but they are of course not themselves and advise me to search the Internet. That's kind of weird because they themselves do not know what they are selling.

    sailare wrote:

    How about you than mere transfer option windows in Windows 7?
    It will transfer at least my music play stops, Photos, etc.?

    I tried to ask them, but the laptop are sealed inside it models box and display are turned off. Backlit keyboard cannot be determined.

    @Erico:

    You wrote:

    I suggest to download, install and use the free version of Macrium Reflect. Back up your files to an external drive.

    I have no idea how this program will back up my files from the free version does not support files and folders.

    Do you think that Windows Easy Transfer will work in this case?

    Macrium Reflect allows cloning. Once you have a cloned partition, you can see inside the clone and recover files and folders from it. Here is a well written tutorial from the how-to Geek on the subject.

    I have a Belkin Windows Easy Transfer cable and have used it a few times. My results with Windows Easy transfer, and that is why my preference is the use of a cloning utility instead. Macrium Reflect has never failed me, and I've used dozens of times.

    Best regards

    ERICO

  • All programs and missing data and the message left notebook 'where are my files' on the computer

    original title: I use win xp Prof my computer has been open 24 hours. today when I started using the pc I was shocked as al my applications and software loaded on the system is

    I use win xp Prof my computer has been open 24 hours. today when I started using the pc, I was shocked that al my applications and software loaded on the system is not there and my c, d, e drivers were folders named as 0 and a notebook called as 'where are my files' in this Hello Microsoft fanboy. Your idle Bill Gates decided to write a major error of Windows just for fun. Since you use its products, which are in fact his good, you're his slave, he has control over your system and you have to do what he wants; you're just a toy. He wants you to buy $1000 worth of Microsoft products, he wants your money to earn a top position in the richest worlds even once, THEN it COULD give you your data back. Windowing happy! Bill Gates advice you continue to use Windows throughout your life and thus live in a world of peeping Microsoft if your favorite Windows. For an ideal Windows experience, please reinstall the drivers and software every day and reformat your PC every week. It is an order of Bill Gates YOU UNDERSTAND THAT! ?? Contact Mr. Bill to * address email is removed from the privacy * and treat it with honer, you're his slave. This message is written. He has also deleted my files data. PL give a solution to remove the virus and recover my data

    Hello

    Step 1:

    Atfirst, check the permissions on the files to ensure that you are the owner.

    How to set, view, change, or remove special permissions for files and folders in Windows XP

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

    Step 2:

    a. click Start, click run, typecmd in the Open box and then click OK.

    b. at the command prompt, type:

    dir. This will let us know if there are files on the computer.

    Step 3:

    Then, at the command prompt, navigate to c:\users\ (username) \(folder name). This will let us know if all data are present in the files. * The user name will be your username and the folder name would be one of the folder names that you have on the computer.

    Step 4:

    Try to run chkdsk. It is possible that the data is on a damaged area of the hard drive and has been locked.

    How to perform disk error checking in Windows XP

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

    CHKDSK warning:

    Important: When running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

    Let us know if it helps!

  • Pavilion dv2 Notebook: how to uninstall items in "All programs" which are not displayed via programs and features

    I do not play games on my computer. I uninstalled 'My HP Games' (32 items) via the control panel. However, there are 11 items that appear in the games through "All programs", but are not displayed by the intermediary of "Control Panel / programs and features. There is also a link to eBay.com, in "All programs" that I would like to delete.

    How to uninstall these components?

    Hi @jarhtmd,

    Thank you for your response.

    The sample you provided it seems there are some games that you should be able to uninstall in Add Remove programs.

    For example, 'C:\Program Files\Microsoft Games\Chess'. When you look in the programs listed do you see "Microsoft Games\Chess, if so you should be able to uninstall."  It would be listed under Microsoft Games / and the name of the game.

    As some of the Microsoft games that came with the Windows installation you can not have an option to uninstall them.

    Those ending with "lnk" is just links. Try right click and delete.

    Good luck!

  • As Device Manager and RUN programs are open with a notebook!

    Programs such as Device Manager, system configuration and RUN, for example, are open with a Notepad in which a lot of things ununderstanable are written with the exception of this sentence: this program cannot be run in DOS mode.
    I hope you can help me know what the problem
    I've had this a couple of days, when I updated my windows, but I don't know if it was the cause.

    Hi Naj,

    Thank you for your message.

    If you use the "Run" box/command and executable files (anything with .exe extension) are to open with Notepad, or you have a virus or the executable file (.exe) are associated with Notepad.

    Here's an article that explains a part of the process:

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

    I suggest to use the FixIt at the link above.

    Chris
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Pavilion notebook 17-f225nr: new computer, downloaded a program and it does not now uninstall program

    I recently bought this laptop and I downloaded Windows proplus Office 365, (it basically says the version 2013 office in all programs) package from the Web site of my school for me to do school work.  I came across a problem first of all to be able to log on in the audit program power still use the program, so I dug my disc that I have Microsoft Office home and student 2010 version and is installed on my computer from my drive.  This program works for me so I went to uninstall version 2013 on my computer and it pops up first a box that I honestly don't remember what he said but he gave me 2 options to uninstall program, I chose 1 option and agree to hit.  The Microsoft office program is still on my computer, it never removed/uninstalled and tried to wait for a day with computer on, I tried to restart, I tried to stop and start back up computer, but whenever the program is still there and I'm trying to uninstall again and it won't let me do anything, when I double click on the program and the button uninstall the following message appears "Please wait until the current program is." finished uninstall them or change' can I please get help to delete this off of my computer because I do not want and can not use it.  Thank you.

    HI @glowingsmiles,

    Welcome to the HP Forums!

    It's a great place to find answers and suggestions!

    You have the best experience in the HP forum, I would like to draw your attention to the Guide of the HP Forums.

    Learn how to post and more

    I entered that you have downloaded and installed Office 365 Pro as your school provided, but were not able to connect to it.

    You had an Office 2007 and installed server and works very well.

    You have tried to uninstall the Office 365 and she first appeared a box, but you can't remember what he said but there are 2 options to uninstall the program, you chose option 1 and click on accept.  The Microsoft office program is still on your computer, it will never delete/uninstall, and you tried to wait for a day with the computer.  You tried to restart. You tried closing and starting the backup computer, but whenever the program is still there and if you then try to uninstall again and it won't let you do something, when you double-click on the program and click the button to uninstall the following message appears "Please wait until that the current program is finished uninstalling or change'

    First, I opened the Task Manager.

    Select the Office 365 and force them to leave the process.

    Then I reboot in safe mode and start the uninstall of Office 365.

    HP computers - Safe Mode of Windows 8

    Here is a link to support.office.com which will also provide options to uninstall Office 365.

    Uninstall Office 2013 or Office 365 from a Windows computer

    If you are still unable to remove it, you should contact your it Department of your school or Microsoft.

    Microsoft contact us

    You can always to a recovery in the factory that would remove all the programs you have installed and it back to the original state.

    HP computers - performing a recovery of HP (Windows 8) system

    There is an option to backup your personal files to prevent loss of data during the recovery process.

    HP computers - restore files that have been supported to the top using HP Recovery Manager (Windows 8)

    To say thank you for the reply, please click on the thumbs upwards the button below.

    If this resolve your difficulties, remember to tell other people by choosing the solution provided. This will allow him to be found with great ease.

    Good luck!

  • HP Pavilion notebook pc windows 7 program loss gb

    I did a cover last night.    Now I can't any docs to open the startup of word 2010 and microsoft excel starter, the message says: the product in the Panel.  How?

    Hello:

    Please read the info at the link below under the heading products repair Office Click-to-Run

    http://Office.Microsoft.com/en-us/Starter-Help/Update-repair-or-uninstall-Office-click-to-run-products-HA010382089.aspx#_Toc272139012

    Paul

  • the notebook & the snipping tool, I can't save anything in a program.

    Hi all!

    First time for me here!
    I have a weird problem where I can not save a Notepad file or tool captures on my PC (when I click on save or save as in a product nothing happens at all! don't even not a backup window opens).
    I also have another strange issue in which my backspace does not work in the box 'search' in the start menu. I can type in there, but cannot run.

    Any help would be appreciated! as I looked on the net and can not find a good solution to my problem.
    Concerning
    James Roe

    If your sure the Save as dialog box does not popup the window you're working with,

    The Enter key only works in the start menu if a suggestion is available that matches your request.

    If you want a box run using the windows logo key and the R key.

    Create a new administrator account,

    http://Windows.Microsoft.com/en-us/Windows7/create-a-user-account

    If the problem does not occur in the new user account, then check out the following link to resolve the damaged user account.

    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

Maybe you are looking for

  • How can I get the scroll bar of firefox on the right side of my screen to stay?

    The scroll bar appears, but he goes with this version. I would stay permanently.

  • recovery error code: 0xe0ef0003

    When I tried to recover windows 7 recovery DVD that I created from the recovery partition, I got the error code: 0xe0ef0003 and the PC did not run windows again, so I can't start it anymore, the model is HP G62-121EE... Please help. I think that the

  • Satellite P100-286 - HDD upgrade question

    I'm looking in the upgrade of my HDD, i.e. with the P100-286 Fujitsu MHV2200BT. I would like to find a disk with a RPM faster and perhaps a slightly greater capacity also. I found the information on the MHV2200BT and see that there is a box slightly

  • All summarized taxes?

    If you are not beautiful coming from the USA and you want to buy an Apple product in here (in this case in New York), for example an iPad Pro and a pencil to Apple, you will have to pay taxes? Aside from the already shown price? Please, I would like

  • constant blocking of programs in the cd player

    just started using vista yesterday and can't get the cd to be recognized or they lock themselves. the problem seems to be intermittent. Sometimes, he'll find the cd, sometimes it doesn't. the system seems that the cd player is running nonstop, someti