Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: remove file extension in batch command  (Read 3465 times)

0 Members and 1 Guest are viewing this topic.

uscguy09

  • Guest
remove file extension in batch command
« on: July 13, 2011, 12:08:09 PM »
Hello All,

I'm a noob at this and have been trying to figure out how to remove the file extension type when using a batch command to copy all files in a specified directory.
Below is my batch command:

Code: [Select]
@echo off
cls
echo press any key to continue transfer!
pause

dir "V:\Personal Folders\sss\Work Orders\Requested" /b /o:n > WOnames.txt

echo transfer complete
pause

Can someone help me out with this?
« Last Edit: July 13, 2011, 12:18:42 PM by uscguy09 »

Spoiler



    Specialist

    Thanked: 50
  • Experience: Beginner
  • OS: Windows XP
Re: remove file extension in batch command
« Reply #1 on: July 14, 2011, 11:06:22 AM »
What are you trying to do? Copy a file somewhere? Or FTP it?

And you want to change the name of it after it gets to a new folder?

Maybe if you write a list of steps as to what you want to do it would help us understand.

Thanks
Whenever I watch TV and I see those poor starving kids all over the world, I can't help but cry. I mean I would love to be skinny like that, but not with all those flies and death and stuff." - Mariah Carey, Pop Singer