Question about Microsoft Windows? Vista Home Basic Edition Full Version for PC (882224181112)

1 Answer

Creating batch files in Vista

Using Windows XP and earlier versions, I created batch files using EDIT. For example to exit from the Command Prompt, instead of typing EXIT I entered that command in a batch file X.BAT which shortened the action of leaving the Command Prompt.
I also created other batch files such as
C:\COPY LOTUS\WORK \123\*.* F:\123 in a batch files named 123.bat which copied the relevant files to a USB Stick so that I could transfer the data to another computer elsewhere.

How can I create the same processes in VISTA?

Posted by on

1 Answer

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    Superstar:

    An expert that got 20 achievements.

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

  • Microsoft Master
  • 13,433 Answers

In vista and in windows 7.

you can create CMD files that take the same commands as batch files.

Open notepad begin with @echo off and then press enter and write your commands.

the same commands work as in xp.

once you are done, click file, and save as. You have to set the file type to any and then save the file name as for example x.cmd make sure you write the CMD after the dot.

Posted on Feb 03, 2010

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

3 Answers

How to create simple batch files


Creating a batch file
MS-DOS users
Microsoft Windows and other users

MS-DOS users
To create a basic batch file in MS-DOS, follow the below steps that give you an example of how to create a basic batch file.

  1. Open an MS-DOS command window or get to MS-DOS. Additional information about doing this can be found on document CHDOS.
  2. At the MS-DOS prompt, type: edit test.bat and press enter.
  3. If typed properly, you should now be in a blue screen. Within the screen, type:

    pause
    dir c:\windows
    dir c:\windows\system

  4. Once the above three lines have been typed in, click File and choose exit; when prompted to save, click "Yes." Users who do not have a mouse cursor can accomplish this same task by pressing ALT+F to access the file menu, then pressing "X" to exit, and pressing enter to save changes.
  5. Once you are back at the MS-DOS prompt, type: test and press enter. This will execute the test.bat file and begin running the file. Because the first line is pause, you will first be prompted to press a key. Once you press a key the batch file will run line-by-line; in this case, listing the files in the windows and windows\system directories.
If you wish to add more lines to this batch file you would simply type "edit test.bat" to edit the file again.
Additional information about the MS-DOS edit command can be found on our edit command page. Some versions of MS-DOS and bootable diskettes may not have the edit command; if this is the case, you would either need to obtain the edit.com file to access this file or use the copy con command.




Microsoft Windows and other users
A Windows user can still use the above MS-DOS steps if they wish to create a batch file. If, however, you're more comfortable using Microsoft Windows or your operating system, you can use any text editor, such as Notepad or Wordpad, to create your batch files, as long as the file extension ends with .bat. In the below example we use the Windows notepad to create a batch file.
  1. Click Start
  2. Click Run
  3. Type: notepad and press enter.
  4. Once notepad is open, type the below lines in the file or copy and paste the below lines into notepad.

    @echo off
    echo Hello this is a test batch file
    pause
    dir c:\windows

  5. Click File and click Save; browse to where you want to save the file. For the file name, type "test.bat", and if your version of Windows has a "Save as type" option, choose "All files", otherwise it will save as a text file. Once all of this has been done click the Save button and exit notepad.
  6. Now, to run the batch file, simply double-click or run the file like any other program. Once the batch file has completed running it will close the window automatically.

Jan 04, 2011 | Computers & Internet

Tip

Batch downloading multiple web pages


Looking for a way to download multiple web pages, images or other files from web sites without using a browser?

First, download and install URL2File Windows Application, which is the program we'll be using in this example (URL2File Windows Application is a product of Chami.com). URL2File can retrieve and save the content of a given World Wide Web URL to a local file. So, to retrieve the web page at http://www.chami.com/tips/ and save it to a local file named tips.htm, run the following command from a Windows Command Prompt/DOS Box:URL2File http://www.chami.com/tips/ tips.htmNote the format of the above command: URL2File followed by the web page/file address and the name of the file that you want to save the content as.The next step is to create a batch file that can call URL2File for eachfile you need to download. A Windows batch file is a text file with alist of commands, usually with the .BAT extension.Let's assume that there are three files named file1.zip, file2.zip and file3.zip at http://www.chami.com/tips/ that you need to download. To create a batch file to download above files:
  • Open Windows Notepad
  • Enter following three commands into the blank notepad (one command per file to be downloaded):URL2File http://www.chami.com/tips/file1.zip file1.zip
    URL2File http://www.chami.com/tips/file2.zip file2.zip
    URL2File http://www.chami.com/tips/file3.zip file3.zip
  • Save the notepad file with a name of your choice followed by .BAT ("download.bat" for example)
Now run "download.bat" from your Windows Command Prompt/DOS Box by typing:downloadand hitting ENTER. The newlycreated batch file will call URL2File three times for each of the threefiles and sequentially download them for you. To download other files,simply modify the batch file and run it again.

taken from http://www.chami.com/tips/windows/062598W.html

on Jan 25, 2010 | Microsoft Windows XP Home Edition

Tip

Setup windows vista or windows 7 from pendrive


This tutorial will help you in creating a bootable USB drive of Windows Vista which you can use to install Vista in any system. It might become very useful when you don't have access to DVD drive.
1. First format your USB drive in NTFS file system. You can do it by attaching your USB drive to your system and then format it from My Computer window.
2. Now open Command Prompt window from Start menu. Right-click on Command Prompt entry in start menu and select "Run as administrator" option.
3. Now type diskpart in Command Prompt window and press Enter. It'll launch DiskPart program:
launchdiskpart.jpg
4. Now provide following command:
list volume
It'll show a list of all drives in your system. Look for your USB drive entry. As in the below screenshot, the USB drive is "G" which you can determine from its "Type" entry.
Now you have to select the USB drive volume by providing select volume no. command. Since in our case volume no. of USB drive is "Volume 4", the command would be:
select volume 4
Now we have to make this drive active. So provide active command:
active
Now exit from DiskPart using exit command.
usingdiskpart.jpg
5. Now we need to create Boot sector on USB drive. We'll use "bootsect.exe" utility for this task. You can find this utility in Windows Vista setup disk. It'll be present in "Boot" directory.
Now provide following command in Command Prompt:
bootsect /nt60 G:
Here G is drive letter of USB drive. Replace it with the correct drive letter if your system has some other letter for USB drive.
installingbootloaderonusb.jpg
6. At last, copy all files/folders from Vista Setup DVD to your USB drive and you have done.
Now you can boot using your USB drive and can install Windows Vista in any system.
Thanks to Dave Glover for this info...

on Jan 17, 2010 | Computers & Internet

1 Answer

I brought a 2bd hand Zoostorm netbook with an 8 gig ssd card, how can I copy an operating system onto the card as the XP on it is faulty, and will not start. I have a USB 3.5 inch floppy, and a USB cd...


You need to make a bootable usb install for windows (these directions are for vista but should be the same for xp)

This tutorial will help you in creating a bootable USB drive of Windows Vista which you can use to install Vista in any system. It might become very useful when you don't have access to DVD drive.
1. First format your USB drive in NTFS file system. You can do it by attaching your USB drive to your system and then format it from My Computer window.
2. Now open Command Prompt window from Start menu. Right-click on Command Prompt entry in start menu and select "Run as administrator" option.
3. Now type diskpart in Command Prompt window and press Enter. It'll launch DiskPart program:

4. Now provide following command:
list volume
It'll show a list of all drives in your system. Look for your USB drive entry. As in the below screenshot, the USB drive is "G" which you can determine from its "Type" entry.
Now you have to select the USB drive volume by providing select volume no. command. Since in our case volume no. of USB drive is "Volume 4", the command would be:
select volume 4
Now we have to make this drive active. So provide active command:
active
Now exit from DiskPart using exit command.

5. Now we need to create Boot sector on USB drive. We'll use "bootsect.exe" utility for this task. You can find this utility in Windows Vista setup disk. It'll be present in "Boot" directory.
Now provide following command in Command Prompt:
bootsect /nt60 G:
Here G is drive letter of USB drive. Replace it with the correct drive letter if your system has some other letter for USB drive.

6. At last, copy all files/folders from Vista Setup DVD to your USB drive and you have done.
Now you can boot using your USB drive and can install Windows Vista in any system.







You can also see the directions here http://www.askvg.com/how-to-create-bootable-usb-drive-to-install-windows-vista/

Dec 26, 2009 | Computers & Internet

2 Answers

Copying to c:\ in vista using batch files..


You need to left click the batch file and "Run as Administrator".

Nov 01, 2009 | Microsoft Windows Vista Ultimate Edition

Tip

How To Create Bootable USB To Install Windows Vista


his tutorial will help you in creating a bootable USB drive ofWindows Vista which you can use to install Vista in any system. Itmight become very useful when you don't have access to DVD drive.

Use the tutorial available Here .

or


Do it using COMMAND PROMPT

1. First format your USB drive in NTFS file system. You can do it byattaching your USB drive to your system and then format it from MyComputer window.

2. Now open Command Prompt window from Start menu. Right-click onCommand Prompt entry in start menu and select "Run as administrator"option.

3. Now type diskpart in Command Prompt window and press Enter. It'll launch DiskPart program

4. Now provide following command:

list volume

It'll show a list of all drives in your system. Look for your USB driveentry. As in the below screenshot, the USB drive is "G" which you candetermine from its "Type" entry.

Now you have to select the USB drive volume by providing select volumeno. command. Since in our case volume no. of USB drive is "Volume 4",the command would be:

select volume 4

Now we have to make this drive active. So provide active command:

active

Now exit from DiskPart using exit command.

5. Now we need to create Boot sector on USB drive. We'll use"bootsect.exe" utility for this task. You can find this utility inWindows Vista setup disk. It'll be present in "Boot" directory.

Now provide following command in Command Prompt:

bootsect /nt60 G:

Here G is drive letter of USB drive. Replace it with the correct driveletter if your system has some other letter for USB drive.

6. At last, copy all files/folders from Vista Setup DVD to your USB drive and you have done.

Now you can boot using your USB drive and can install Windows Vista in any system.

on Dec 16, 2009 | Microsoft Windows Vista Ultimate Edition

2 Answers

I Wanted To Make a BOOT CD For Windows XP But The Problem is That I Have Windows Vista and i Dont Know What To Do So What Can i Do


How to make a bootable Windows Vista ISO DVD media
  1. Put all 3 downloaded files (namely install.wim, boot.wim and an executable X13-49120.exe) in the same folder (for this tutorial, let’s assume the files are put on C:\ else you need to modify the path accordingly).
  2. Run the X13-49120.exe executable. Windows Vista Setup Preparation will create a new folder “Vista” inside the folder and will populate the folder with all necessary Vista setup files which takes up about 2.52 GB disk space.
  3. Exit from the Install Windows screen.
  4. Download CDimage 2.52.
  5. Extract CDimage from CDimage.zip to the C:\ root directory.
  6. Open a command prompt shell, and run the following command: cdimage.exe -lVISTA_EN_DVD -m -u2 -bC:\Vista\boot\etfsboot.com C:\Vista\ C:\Vistax86.iso
    Bootable Windows Vista x86 DVD ISO image in UDF format will be created as vistax86.iso in C:\ or any folder you specified above.
  7. Burn the newly create ISO with a CD/DVD burning software such as Nero or Alcohol 120%. Try to burn at low speed (i.e. 4X) and turn on verification to ensure that the DVD creation is fine.
Visit here for illustrative guide on using CDImage GUI version to make the bootable DVD ISO.

Create a Windows Vista ISO image and DVD with Oscdimg
Another possible way to create a bootable Vista ISO and DVD is by using Oscdimg CD-ROM and DVD-ROM Premastering Utility, available via WinPE (Windows Preinstallation Environment) via Business Desktop Deployment 2007 or Windows Automated Installation Kit (AIK).
  1. Complete step 1 – 3 as above.
  2. In the command prompt window, run the following command: oscdimg -bC:\Vista\boot\etfsboot.com -h -u2 -m -lVISTA_EN_DVD C:\Vista\ C:\VistaDVD.iso
    A VistaDVD.iso UDF DVD image will be created and can be used to boot the computer from DVD to install Vista.
  3. Burn the ISO image file by using last step above.
Visit the guide to create Vista bootable DVD using vLite.
Note: For 64-bit Windows Vista, download etfsboot.com and put it into “\Vista\boot” folder. Or users using WAIK (WinPE), the etfsboot.com can be found at %Programfiles%\Windows AIK\Tools\PETools\amd64\boot\ folder. So simply replace -bC:\Vista\boot\etfsboot.com with -bC:\Program Files\Windows AIK\Tools\PETools\amd64\boot\etfsboot.com when making 64-bit Vista DVD image.

Aug 02, 2009 | Computers & Internet

1 Answer

How to install raspppoe connection in vista


Hi,

The trick with XP also woks eith VISTA too.
Try the following in vista, you will succeed.

If you're using a RAS / PPPOE connection for Internet, and wish to automatically connect to your ISP at startup, you may use Rasdial utility which is built-in.

Usage: Open a Command Prompt window and type:

Rasdial <connectoid> "username" "password"

This would initiate a dial-up/PPPoE connection to your ISP.
You can create a batch file with the above parameters and place it in your Startup folder, so that vista dials to your ISP automatically at every startup.
If you don't prefer to enter the password in the batch file, use the following command-line (vista will prompt you for a password - secure)

Rasdial <connectoid> "username" *

NOTE: Type Rasdial.exe /? in the Command Prompt to learn more about this command, it's other parameters.

Hope my info helps you,
Thanx for using fixya,
Cheers.

Sep 27, 2008 | Microsoft Windows Vista Home Premium with...

1 Answer

How to use cmd ?


to use the command prompt, press the "start" and "R" keys on the keyboard.
On the small, "Run" screen, type cmd.
click ok.

type help in the command prompt. This should print a list of commands that you can use with it.
This is what it puts on-screen:
For more information on a specific command, type HELP command-name
ASSOC Displays or modifies file extension associations.
AT Schedules commands and programs to run on a computer.
ATTRIB Displays or changes file attributes.
BREAK Sets or clears extended CTRL+C checking.
CACLS Displays or modifies access control lists (ACLs) of files.
CALL Calls one batch program from another.
CD Displays the name of or changes the current directory.
CHCP Displays or sets the active code page number.
CHDIR Displays the name of or changes the current directory.
CHKDSK Checks a disk and displays a status report.
CHKNTFS Displays or modifies the checking of disk at boot time.
CLS Clears the screen.
CMD Starts a new instance of the Windows command interpreter.
COLOR Sets the default console foreground and background colors.
COMP Compares the contents of two files or sets of files.
COMPACT Displays or alters the compression of files on NTFS partitions.
CONVERT Converts FAT volumes to NTFS. You cannot convert the
current drive.
COPY Copies one or more files to another location.
DATE Displays or sets the date.
DEL Deletes one or more files.
DIR Displays a list of files and subdirectories in a directory.
DISKCOMP Compares the contents of two floppy disks.
DISKCOPY Copies the contents of one floppy disk to another.
DOSKEY Edits command lines, recalls Windows commands, and creates macros.
ECHO Displays messages, or turns command echoing on or off.
ENDLOCAL Ends localization of environment changes in a batch file.
ERASE Deletes one or more files.
EXIT Quits the CMD.EXE program (command interpreter).
FC Compares two files or sets of files, and displays the differences
between them.
FIND Searches for a text string in a file or files.
FINDSTR Searches for strings in files.
FOR Runs a specified command for each file in a set of files.
FORMAT Formats a disk for use with Windows.
FTYPE Displays or modifies file types used in file extension associations.
GOTO Directs the Windows command interpreter to a labeled line in a
batch program.
GRAFTABL Enables Windows to display an extended character set in graphics
mode.
HELP Provides Help information for Windows commands.
IF Performs conditional processing in batch programs.
LABEL Creates, changes, or deletes the volume label of a disk.
MD Creates a directory.
MKDIR Creates a directory.
MODE Configures a system device.
MORE Displays output one screen at a time.
MOVE Moves one or more files from one directory to another directory.
PATH Displays or sets a search path for executable files.
PAUSE Suspends processing of a batch file and displays a message.
POPD Restores the previous value of the current directory saved by PUSHD.
PRINT Prints a text file.
PROMPT Changes the Windows command prompt.
PUSHD Saves the current directory then changes it.
RD Removes a directory.
RECOVER Recovers readable information from a bad or defective disk.
REM Records comments (remarks) in batch files or CONFIG.SYS.
REN Renames a file or files.
RENAME Renames a file or files.
REPLACE Replaces files.
RMDIR Removes a directory.
SET Displays, sets, or removes Windows environment variables.
SETLOCAL Begins localization of environment changes in a batch file.
SHIFT Shifts the position of replaceable parameters in batch files.
SORT Sorts input.
START Starts a separate window to run a specified program or command.
SUBST Associates a path with a drive letter.
TIME Displays or sets the system time.
TITLE Sets the window title for a CMD.EXE session.
TREE Graphically displays the directory structure of a drive or path.
TYPE Displays the contents of a text file.
VER Displays the Windows version.
VERIFY Tells Windows whether to verify that your files are written
correctly to a disk.
VOL Displays a disk volume label and serial number.
XCOPY Copies files and directory trees.

this window is used only when the desktop cannot be accessed.
For a user-friendly interface (easier to use), use My computer to do common tasks.

Aug 25, 2008 | Microsoft Windows Vista Home Premium with...

2 Answers

How to edit registry


1) to edit registry go to start / select run and type regedit. from there you are able to edit registry values. BEWARE because editing registry values may make your windows stop working. you should know what you are doing and you are responsible of the cosnequenses 2) a bat file is a batch file. Batch files are files that allow MS-DOS and Microsoft Windows users to create a lists of commands and/or programs to run once the batch file has been executed. 3) create a file called autorun.inf and type inside [autorun] open=file.exe save your file and write it in the cd you want to autorun the file.exe part must be replaced with the executable you want to load when your CD autoruns

Oct 08, 2007 | Microsoft Windows XP Professional With...

Not finding what you are looking for?
Microsoft Windows? Vista Home Basic Edition Full Version for PC (882224181112) Logo

Related Topics:

36 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

micky dee

Level 3 Expert

2716 Answers

Piyal Perera
Piyal Perera

Level 3 Expert

528 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18390 Answers

Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...