Question about Computers & Internet

1 Answer

Rename a file by providing input and out file name

How to rename a file? using DOS script; script ask for input file name and output file name

Posted by on

  • Misterixas May 11, 2010

    Is this what you mean?:

    C:\ >ren filename1.txt filename2.txt

×

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Corporal:

    An expert that hasĀ over 10 points.

    Mayor:

    An expert whose answer gotĀ voted for 2 times.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 13 Answers

Ren current.name new.name

this would rename a file called current.name to the name new.name

Posted on Jan 27, 2009

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 make folder in dos command how to rename the folder in dos command how to change the font color of the dos command


To make a folder type: mkdir FOLDER_NAME Where FOLDER_NAME is the name that you want to give your folder.

To rename a folder type: rename FOLDER_OLDNAME FOLDER_NEWNAME Where FOLDER_OLDNAME is the old name of the folder and FOLDER_NEWNAME is the new name of the folder.
To change your font colour, use the color command by typing: color XY Where X is a hex value representing the colour of the background of your window and Y is the colour of your.
The values that you can use for X and Y are:
0-black
1-blue
2-green
3-aqua
4-red
5-purple
6-yellow
7-white
8-grey
9-light blue
a-light green
blight aqua
c-light red
d-light purple
e-light yellow
f-bright white

Mar 25, 2011 | Computers & Internet

1 Answer

How i access internet in linux rhel 4 by my motorazr v3i


But there is a software i would personally recommend to you.

Name of software is "Sakis3g". It can connect to mobile phones and other mobile devices which can be detected by linux kernel. You can use IR, Bluetooth, even USB cable to connect to your device.

You can use this software for the following



  1. connect to mobile devices by IR, bluetooth, USB Cable
  2. Send and receive files between computer and device
  3. Access Internet from Device by Dial Up Networking
  4. Browse files on Mobile device
  5. Mount the mobile device on a user specified mount point or communication port.
    Usually it mounts connected mobile device to /dev/rfcomm0. Through this port, you can communicate with the device .
  6. Connect to USB Modem (Like Reliance DataConnect, TATA Photon, IDEA Netsetter etc.)
  7. ability to connect to any locked/unlocked USB Internet Modems (Zero Devices)
  8. fully automated connection setup. No manual input is needed except to specify connection name.




You can find more details and download Sakis3g from this address

Sakis3g Homepage may not specify anything about connecting a mobile phone to computer and using it as an Internet Modem, but trust me its possible. Meanwhile I'm posting this by using DUN with the help of this script.
  • Just Run the script
  • choose Connect
  • Select Bluetooth
  • It will search for a new bluetooth device
  • Once your phone is detected, Select it and press ok
  • when it asks for APN (Access Point Name) provide it
  • When it asks for user name and password, Provide it. If your service provider do not need any username and password to access internet , Don't just leave it as blank (Program doesn't accepts empty user name and password. you just press space and enter)
  • Once all necessary informations are entered program may simply closes. Don't worry your connection manager will show this new connection entry.

  • To Disconnect the connection , you can select Disconnect option in Sakis3g.

hope this will help you to solve your issue.

Feb 22, 2011 | Motorola Mobility RAZR V3i Cellular Phone

1 Answer

The BIOS has been corrupted. Machine will not boot. Message says Bad Checksum. The only way to rewrite the Bios would appear to be using the Award Bios flash utility. Problem is this demands a DOS file...


call tech support for the asus mb.. explain that the bios is corrupted..

or just turn off the power .. at the wall outlet

and jumper the board to reset the factory defaults for the bios

...

if this fails.. then asus may be able to provide a dos .bin file

renaming the windows file.. will not work!

it is program all contained in a single file and must have windows operational to execute

so... i hate when they write bios update software to operate under windows only



you can ship the board to asus for the bios to be flashed as the last resort

Jan 21, 2011 | ASUS A7S8X-MX Motherboard

2 Answers

Rename a folder in c drive using java code


import java.io.*;

public class RenameFileOrDir{

public static void main(String[] args) throws IOException{
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
System.out.print("Please enter the file or directory
name which has to be Renamed : ");

String old_name = in.readLine();
File oldfile = new File(old_name);


if(!oldfile.exists())
{

System.out.println("File or directory does not exist.");

System.exit(0);

}

System.out.print("please enter the new file or directory name : ");

String new_name = in.readLine();

File newfile = new File(new_name);

System.out.println("Old File or directory name : "+ oldfile);
System.out.println("New File or directory name : "+ newfile);
boolean Rename = oldfile.renameTo(newfile);

if(!Rename)
{

System.out.println("File or directory does not rename successfully.");

System.exit(0);

}

else {

System.out.println("File or directory rename is successfully.");

}

}

}

Mar 30, 2009 | Sun Java Programming Language (cdj-275)

1 Answer

I want to change start button name


Hi,
 
Renaming the Start button needs a few steps (Source: http://www.onecomputerguy.com/windowsxp_tips.htm)


Renaming the Start Button
To rename the start button, you will need a hex editor.
My preference is UltraEdit

  1. Copy the \windows\explore.exe file to a new name (e.g. explorer_1.exe)
  2. With the hex editor, open that file and go to offset 412b6
  3. You will see the word start with blanks between each letter
  4. Edit it be any 5 characters or less
  5. Save the file
  6. Boot to DOS
  7. Copy the existing c:\windows\explorer.exe to explorer.org
  8. Copy explorer_1.exe to explorer.exe
  9. You will also need to replace the explorer.exe in the c:\windows\system32\dllcache file as well with the new one.
Note: If the partition is NTFS and you can't access the files from DOS:
  1. Start Regedit
  2. Go to HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon.
  3. Change the value of Shell from Explorer.exe to explorer_1.exe
 
Hope this helps. Please rate your feedback!
Thanks,
VJ

Mar 03, 2009 | Microsoft Windows Xp Home Edition English...

2 Answers

To run a DOS command without showing output to the user


You cannot execute a dos window withou atleast having it appear in the task bar as a running program in Windows. You can however start it minimized using a batch file and starting with the command:

START /MINIMIZED /WAIT COMMAND.COM

Depending on what you are trying to do you might want to look into VB scripting or WHS as an alternative to using CMD to parse commands.

Dec 16, 2008 | Microsoft Visual Basic 6.0 for PC

1 Answer

Tascam 788


The 788 can be used to play music from a SCSI attached CD-RW drive, but the record (and all other mixing functions) are disabled so you are not able to record the CD output onto a track using the SCSI attached drive.

Your options are:

1.) Rip tracks files from the CD onto you PC as wav files. You'll have rip (or later convert) those files to mono 16 or 24 bit wav files at 44.1kHz, use the old dos 8.3 naming convention for the filenames, and them burn them onto a CD-R or CD-RW as data files which can then be taken and imported into the 788.

2.) Play the CD through with an external CD player or stereo and route the output into an input on the 788. Assign the input to a track and record. Be careful to use a line level output, like an aux out (or try the CD player's outputs directly into the 788) if you are using a stereo. Avoid using a speaker output as the signal from a speaker output will be too strong and can damage the 788.

Hope this helps.

Cheers.

bd.

Oct 20, 2008 | Tascam 2488 Portastudio Multitrack...

2 Answers

Screen saver


Most likely the demo script in the \script directory of your TT is named "salesdemo.script". A script by this name is run automatically after a certain time. Just rename it to "demo.script". Problem solved.

Jun 06, 2008 | Tomtom ONE 3rd Edition GPS

1 Answer

How do i reboot windows vista. i knwo theres a way to do it not from the CD and it returns it to how u go it out of the box. please let me know thanks


If you are using MS-DOS 6.0 or later, you can use multiple configuration menus or the CHOICE.COM program to configure your system. For more information on using these options under MS-DOS 6.0 or later, type HELP MULTI-CONFIG or HELP CHOICE at the MS-DOS command prompt and then press ENTER. To create the files to automatically restart your computer with the appropriate configuration, do the following:

Create a directory on your hard drive called C:\CONFIGS. Create the CONFIG.SYS and AUTOEXEC.BAT files you need to boot your system for HIMEM.SYS and applications that require it, with the following names: c:\configs\config.dos c:\configs\autoexec.dos Create the CONFIG.SYS and AUTOEXEC.BAT files you need to start your system for the program that conflicts with HIMEM.SYS. Any unique file extension can be used. The following example uses 386: c:\configs\config.386 c:\configs\autoexec.386 The following DEBUG script can be used to create a small executable file called REBOOT.COM. This file, when executed, will cause your system to restart. To create the file, change to the DOS directory, and type the following: debug reboot.comEnter the following information, pressing ENTER key after each line: A 100 ; Debug instruction for assemble MOV AH,0D ; Disk Reset INT 21h ; causes SmartDrv 4.x to write cache MOV AX, 40 ; set up segment addressing MOV DS,AX DS: OR BYTE PTR [17],0C ; equivalent of pressing CTRL+ALT MOV AX,4F53 ; Issue a "DEL" (53h = DEL scan code) INT 15h ; EMM386 sees this & shuts down. DS: MOV WORD PTR [72],1234 ; Set REBOOT flag to Warm-Boot (0=cold) JMP F000:FFF0 ; Execute the internal restart routine <CR> ; This line must be blank (just hit ENTER) R CX 20 ; File size to be written to disk (in hex) N REBOOT.COM ; Filename W ; Write the file to disk Q ; Quit Debug NOTE: The REBOOT.COM file created with this debug script is compatible with SMARTDrive and its write-behind cache feature. The instructions in REBOOT.COM cause SMARTDrive to write (flush) its write-behind cache to disk before the computer is rebooted.

The following commands can be used to copy and rename the configuration files to the root directory of the C drive and restart the computer. To simplify the process, you can put these commands into batch files.

To start your machine for Windows, use the following commands: copy c:\configs\autoexec.dos c:\autoexec.bat copy c:\configs\config.dos c:\config.sys reboot.com To start your machine for the 386 application, use the following commands: copy c:\configs\autoexec.386 c:\autoexec.bat copy c:\configs\config.386 c:\config.sys reboot.com

Apr 29, 2008 | Computers & Internet

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

227 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

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

Answer questions

Manuals & User Guides

Loading...