Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > The file name you specified is not valid or too long.

Reply
Thread Tools Display Modes

The file name you specified is not valid or too long.

 
 
yawnmoth
Guest
Posts: n/a

 
      05-08-2009
I was editing some files in Linux and am now trying to view them in
Windows Vista but am having some difficulty. In particular, there's
one file named demo?.jpg. When I try to open the file, I can't. When
I try to rename it, I get the following error:

The file name you specified is not valid or too long. Specify a
different name.

Certainly going into Linux and renaming it is not a problem, but I'm
curious - is there a way to deal with issues such as this in Windows?
 
Reply With Quote
 
 
 
 
Guest
Posts: n/a

 
      05-08-2009
? is illegal. You can try

del \\?\c:\dos?.jpg

which by passes some checks.
--
..
--
"yawnmoth" <> wrote in message
news:53ef55dc-2906-4b9b-a781-...
>I was editing some files in Linux and am now trying to view them in
> Windows Vista but am having some difficulty. In particular, there's
> one file named demo?.jpg. When I try to open the file, I can't. When
> I try to rename it, I get the following error:
>
> The file name you specified is not valid or too long. Specify a
> different name.
>
> Certainly going into Linux and renaming it is not a problem, but I'm
> curious - is there a way to deal with issues such as this in Windows?


 
Reply With Quote
 
Guest
Posts: n/a

 
      05-08-2009
If you install the unix subsystem (Control Panel - Program and Features -
Turn Window Features On or Off - Subsystem for Unix Applications) you can
use bash or whatever.

--
..
--
<.> wrote in message news:...
>? is illegal. You can try
>
> del \\?\c:\dos?.jpg
>
> which by passes some checks.
> --
> .
> --
> "yawnmoth" <> wrote in message
> news:53ef55dc-2906-4b9b-a781-...
>>I was editing some files in Linux and am now trying to view them in
>> Windows Vista but am having some difficulty. In particular, there's
>> one file named demo?.jpg. When I try to open the file, I can't. When
>> I try to rename it, I get the following error:
>>
>> The file name you specified is not valid or too long. Specify a
>> different name.
>>
>> Certainly going into Linux and renaming it is not a problem, but I'm
>> curious - is there a way to deal with issues such as this in Windows?

>


 
Reply With Quote
 
Tim Slattery
Guest
Posts: n/a

 
      05-08-2009
yawnmoth <> wrote:

>I was editing some files in Linux and am now trying to view them in
>Windows Vista but am having some difficulty. In particular, there's
>one file named demo?.jpg. When I try to open the file, I can't. When
>I try to rename it, I get the following error:
>
>The file name you specified is not valid or too long. Specify a
>different name.


"?" cannot be used in a file or directory name in Windows.

>Certainly going into Linux and renaming it is not a problem, but I'm
>curious - is there a way to deal with issues such as this in Windows?


I think renaming it in Linux is by far the easiest way to deal with
the problem.

--
Tim Slattery
MS MVP(Shell/User)

http://members.cox.net/slatteryt
 
Reply With Quote
 
DanS
Guest
Posts: n/a

 
      05-08-2009
yawnmoth <> wrote in news:53ef55dc-2906-4b9b-a781-
:

> I was editing some files in Linux and am now trying to view them in
> Windows Vista but am having some difficulty. In particular, there's
> one file named demo?.jpg. When I try to open the file, I can't. When
> I try to rename it, I get the following error:
>
> The file name you specified is not valid or too long. Specify a
> different name.
>
> Certainly going into Linux and renaming it is not a problem, but I'm
> curious - is there a way to deal with issues such as this in Windows?


Had you done a dir /x to see if it's got a valid 8.3 name ?
 
Reply With Quote
 
measekite Da Monkey
Guest
Posts: n/a

 
      05-08-2009

"yawnmoth" <> wrote in message
news:53ef55dc-2906-4b9b-a781-...
>I was editing some files in Linux and am now trying to view them in
> Windows Vista but am having some difficulty. In particular, there's
> one file named demo?.jpg. When I try to open the file, I can't. When
> I try to rename it, I get the following error:
>
> The file name you specified is not valid or too long. Specify a
> different name.
>
> Certainly going into Linux and renaming it is not a problem, but I'm
> curious - is there a way to deal with issues such as this in Windows?


If you stay within the Windows OS, this would never be a problem. since you
used an INFERIOR OS, you get what you pay for!



 
Reply With Quote
 
+Bob+
Guest
Posts: n/a

 
      05-08-2009
On Fri, 8 May 2009 10:14:17 -0700, "measekite Da Monkey"
<> wrote:

>
>"yawnmoth" <> wrote in message
>news:53ef55dc-2906-4b9b-a781-...
>>I was editing some files in Linux and am now trying to view them in
>> Windows Vista but am having some difficulty. In particular, there's
>> one file named demo?.jpg. When I try to open the file, I can't. When
>> I try to rename it, I get the following error:
>>
>> The file name you specified is not valid or too long. Specify a
>> different name.
>>
>> Certainly going into Linux and renaming it is not a problem, but I'm
>> curious - is there a way to deal with issues such as this in Windows?

>
>If you stay within the Windows OS, this would never be a problem. since you
>used an INFERIOR OS, you get what you pay for!
>


The fact that *nix allows a MORE flexible naming convention in this
case would make it superior, not inferior, if anything.

The fact that you are incapable of the logic required to determine
that demonstrates that you are inferior, at best.
 
Reply With Quote
 
measekite Da Monkey
Guest
Posts: n/a

 
      05-08-2009

"+Bob+" <> wrote in message
news:...
> On Fri, 8 May 2009 10:14:17 -0700, "measekite Da Monkey"
> <> wrote:
>
>>
>>"yawnmoth" <> wrote in message
>>news:53ef55dc-2906-4b9b-a781-...
>>>I was editing some files in Linux and am now trying to view them in
>>> Windows Vista but am having some difficulty. In particular, there's
>>> one file named demo?.jpg. When I try to open the file, I can't. When
>>> I try to rename it, I get the following error:
>>>
>>> The file name you specified is not valid or too long. Specify a
>>> different name.
>>>
>>> Certainly going into Linux and renaming it is not a problem, but I'm
>>> curious - is there a way to deal with issues such as this in Windows?

>>
>>If you stay within the Windows OS, this would never be a problem. since
>>you
>>used an INFERIOR OS, you get what you pay for!
>>

>
> The fact that *nix allows a MORE flexible naming convention in this
> case would make it superior, not inferior, if anything.


The naming convention is different for Linux and different for Windows.
That fact doesn't make Linux superior you idiot.

>
> The fact that you are incapable of the logic required to determine
> that demonstrates that you are inferior, at best.


Whatever floats your boat. What makes Linux superior or inferior for a
particular user is the usability of the product. IF the OP has Windows
applications then Linux is useless.

Now shove your head back in your ass where it belongs.


 
Reply With Quote
 
Donald Lessau
Guest
Posts: n/a

 
      05-09-2009
"yawnmoth" <> schrieb im Newsbeitrag
news:53ef55dc-2906-4b9b-a781-...
>I was editing some files in Linux and am now trying to view them in
> Windows Vista but am having some difficulty. In particular, there's
> one file named demo?.jpg. When I try to open the file, I can't. When
> I try to rename it, I get the following error:
>
> The file name you specified is not valid or too long. Specify a
> different name.
>
> Certainly going into Linux and renaming it is not a problem, but I'm
> curious - is there a way to deal with issues such as this in Windows?


The next version (and current BETA) of XYplorer file manager can handle
those overlong filenames. You can open and view those files, rename them,
copy them, delete them.

http://www.xyplorer.com/

(find the latest BETA version in the User Forum)

Don

 
Reply With Quote
 
Junior Member
Join Date: Nov 2010
Posts: 1

 
      11-06-2010
Hello guys,

Do you encounter errors while deleting files in Windows? I'm here to provide a solution. I've been reading several threads on this topic on different forums where computer users were asking about this popular error "The filename you specified is not valid or too long".

My research helped me to find a tool for you guys.

Its LONG PATH TOOL, a very easy to run but highly powerful software.

Follow the link to read more about this error.

longpathtool.com
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not a valid Win 32 file Jay Oken Windows Vista General Discussion 1 10-03-2008 10:19 AM
Valid definitions file Byteguy Windows Vista General Discussion 6 06-24-2008 06:14 PM
valid definitions file Gil McD Windows Vista General Discussion 3 11-10-2007 10:24 PM
coping file from a remote file share - FILE IS NO LONG THERE bogus error message Heith Windows Vista Networking 0 10-18-2007 08:58 PM
Error 1325 - 'File name' is not a valid short file name. Bobby Fu Windows Vista Installation 0 07-04-2007 05:35 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59