Computing.Net > Forums > Disk Operating System > DOS can't copy URL files?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

DOS can't copy URL files?

Reply to Message Icon

Name: sekirt
Date: September 17, 2005 at 12:00:38 Pacific
OS: Win 98se
CPU/Ram: minimum
Comment:

First off, I am not sure where this problem should go. But I need someone with DOS experience, so that's my reason for posting here.

Never saw or heard of this before. I work in DOS or DOS based programs everyday. I decided I need to make copies of my favorites on my D:\ drive. I used File Commander (dual-pane file manager) to copy each folder from C:\ to D:\. Suddenly, on a particular URL, it tells me there is an error. That there is no file with this filename: Perfect Sync's DOSBox Wrapper App. Yet it shows in the directory of File Commander. It shows perfect, filename, date, bytes, long filename, etc; I can use a DOS program and view the text contents just fine. I can view the contents with Notepad too. So I tried a DOS window. Same deal, DIR shows up perfect. I type the copy command and get the same error. Exact Error:
File not found - Perfect Sync's_DOSBox Wrapper App.url

Funny part, I revert to DOS when Windows doesn't please me. This time just the opposite. Windows copies the URL just fine. BTW, the URL works in Favorites with no problems. As it turns out I found a total of 3 URLs that have this problem. I even went and made a new URL today for that site. Still can't be copied in a DOS window. Didn't try real DOS because of 8.3 filename restriction.

Might mention, many, many URL filenames are
A) long filenames
B) have spaces between words
And they are no problem. Just these 3 particular ones.

Here is the content of that URL:

[DEFAULT]
BASEURL=http://perfectsync.com/dosbox.htm

[InternetShortcut]
URL=http://perfectsync.com/dosbox.htm#The%
20Shareware%20Version%20of%20DOSBox
Modified=408C0702DE77C301EE
IconIndex=0

Now, the question. Google didn't help much. Anybody ever hear or see this before?

sekirt



Sponsored Link
Ads by Google

Response Number 1
Name: Dan Penny
Date: September 18, 2005 at 12:37:01 Pacific
Reply:

I'm guessing here, what are the (DOS) attributes set as on these files?

It's a good day when you learn something


0

Response Number 2
Name: sekirt
Date: September 18, 2005 at 12:46:37 Pacific
Reply:

Hi Dan

Only archive is set.

After posting I did try real DOS. Works fine there. Can copy/move/delete. (The filename gets truncated -which doesn't really concern me. I could use LFN, etc;). So it appears the problem is related to a DOS window only.

Hard to believe after all these years of Windows/DOS and I just now discovered this.

sekirt


0

Response Number 3
Name: Glitchman
Date: September 18, 2005 at 13:13:53 Pacific
Reply:

If I'm understanding correctly what you want, then the solution is very simple:

Just convert all your Favorites into a standard Netscape bookmark.htm file. Almost any other web browser that conforms to this standard (Netscape, Mozilla, Firefox, etc.) can easily import them. It takes up far less space on the disk as a single HTML file, plus there is far less overhead on the FAT than with IE's convoluted Favorites structure, not to mention that there are no issues with truncated names.

Besides, if DOS is what you want to use, then the DOS web browsers like Lynx and Arachne will also work easily with your converted bookmarks since they follow that convention as well.


0

Response Number 4
Name: sekirt
Date: September 18, 2005 at 15:11:27 Pacific
Reply:

Glitchman

Well, yeah, you are right. I can handle the files just fine, by a variety of ways. But really the only problem is what caused the DOS problem? Why would I get a file not found error?

100s of favorites and these 3 do not look any different than the others (to me).

Any chance someone went to the site and made the URL a favorite, then checked to see if their copy is also a problem in a DOS window?

http://perfectsync.com/dosbox.htm

sekirt


0

Response Number 5
Name: Derek
Date: September 28, 2005 at 19:32:55 Pacific
Reply:

I had a bash at this and the results were most weird.
This command came up with File Not Found:

copy "c:\windows\favorites\perfect sync's dosbox.url" "c:\my documents"
(three spaces after sync's).

So I tried renaming the file knocking off letters from the right one at a time. No dice with the same style command until I got back to just perfect sync's.

Now here's the weird thing. If I then changed back to the original full name (including three spaces) it copied fine with the exact same command as originally.

As it happened I'd saved another copy of the original elsewhere. If I used that in Favorites we went straight back to File Not Found problem.

I thought I was barmy but was able to repeat the whole thing as many times as I wished.

It seems as if it does get confused about the two "extra" spaces and there is some sort of bug.

DerekW



0

Related Posts

See More



Response Number 6
Name: sekirt
Date: September 29, 2005 at 05:16:05 Pacific
Reply:

Thanks Derek

In my trial, I didn't remove as much as you did. I didn't backup all the way to Sync's. I was also trying to find something different inside the file. Looks like I didn't have to go inside at all.

Going to play with this when I get back later tonite and follow your advice.

sekirt


0

Response Number 7
Name: sekirt
Date: September 30, 2005 at 03:25:26 Pacific
Reply:

Good score there Derek!

I checked one of the others as well and yes, removing some letters/words from the Filename does make the DOS window recognize it properly.

Strange. But I thank you for that discovery.

sekirt


0

Response Number 8
Name: Derek
Date: September 30, 2005 at 06:01:36 Pacific
Reply:

Very weird LOL.

DerekW


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: DOS can't copy URL files?

Can't copy from CD in DOS www.computing.net/answers/dos/cant-copy-from-cd-in-dos/10024.html

Can't copy hidden files from 5 www.computing.net/answers/dos/cant-copy-hidden-files-from-5/14093.html

Can't copy to A:\ www.computing.net/answers/dos/cant-copy-to-a/13515.html