pen island
New member
- Local time
- 12:29 PM
- Messages
- 27
I made a batch file that says this:
The actual batch file is saved on my I:\ drive, not my C:\ drive. My I:\ drive is an internal HDD that is able to talk with my C:\ drive. When I execute the .bat file, it does nothing besides quickly opening the command prompt and then closing it. When I take the .bat file and put it on my desktop and run it, it works as it should (ring.gif gets renamed to ring.jpeg). Why doesn't it work when it is on my I:\ drive?
Code:
@echo off
cd C:\Users\John\Desktop
rename ring.gif ring.jpeg
The actual batch file is saved on my I:\ drive, not my C:\ drive. My I:\ drive is an internal HDD that is able to talk with my C:\ drive. When I execute the .bat file, it does nothing besides quickly opening the command prompt and then closing it. When I take the .bat file and put it on my desktop and run it, it works as it should (ring.gif gets renamed to ring.jpeg). Why doesn't it work when it is on my I:\ drive?
My Computer
- Computer type
- PC/Desktop
- OS
- Windows 7 Ultimate x64
- CPU
- Intel Core i7 3770k @3.5 GHz
- Motherboard
- MSI Z77 MPower
- Memory
- 16Gb of CORSAIR Vengeance
- Graphics Card(s)
- x2 MSI GTX 660
- Hard Drives
- 120Gb SanDisk SSD
x2 500Gb WD Black
- Cooling
- H100i
- Browser
- Firefox