Windows 2000 not allowing .inf files to be saved? Help
11-09-2004, 20:50
|
#1
|
|
Inactive
Join Date: Aug 2004
Posts: 782
|
Windows 2000 not allowing .inf files to be saved? Help
Hi people
Problems with Windows 2000, Ive just finshed a Macromedia Director program and published it into an .exe file and when I was running Windows 98se adding a autorun.inf note pad command to get the CD which contained the program to auto run when placed in other machines was easy, but in Windows 2000 it wont let me save it!!! As it says the file is read only format when I try and save it as Autorun.inf and it wont allow me to save this file type!!!
Can some one tell me how to switch this warning off or the ability to allow .inf saves in notepad. I need my autorun extentions!
Ive searched on the web but cant find a solution.
Any suggestions???
Thanks again
|
|
|
11-09-2004, 21:36
|
#2
|
|
Inactive
Join Date: Jun 2003
Services: Weddings, christenings, barmitzvahs and funerals.
Posts: 860
|
Re: Windows 2000 not allowing .inf files to be saved? Help
Is this a CDR that you're trying to save the file on?
If you have closed the current session or if the disc was written with packet writing software that isn't available on your machine, then the disc will be treated like any other CD and you won't be able to write to it. Also, if you use a CDR, then you won't be able to replace any files on it once they have been written, regardless of what you used to write the CD with.
What I'd suggest is that you copy all the contents of the CD onto a folder on your hard drive, edit the INI file and then burn them back to CDR when you have the final thing ready. If you need to do this often, then I'd suggest using a CDRW and burning it with something like Nero and not DirectCD or its equivalent.
|
|
|
11-09-2004, 21:49
|
#3
|
|
Inactive
Join Date: Aug 2004
Posts: 782
|
Re: Windows 2000 not allowing .inf files to be saved? Help
hi,
No what happens is I create a notepad file saved as an inf with an autorun command in it, this is burnt along with the exe. file to a cd-rom. thats not the problem the problem is windows will not let me save the note book file as an .inf file as it says it is read only. I had no problems with win98se so it must be a setting of some sort but i cant find it.
any ideas?
|
|
|
11-09-2004, 22:04
|
#4
|
|
Inactive
Join Date: Jun 2003
Services: Weddings, christenings, barmitzvahs and funerals.
Posts: 860
|
Re: Windows 2000 not allowing .inf files to be saved? Help
I'm confused?
Are you trying to save an inf file onto the already written CD?
Have you also tried to take ownership of the file, and ensuring that there are no read only properties enabled?
|
|
|
11-09-2004, 22:24
|
#5
|
|
Inactive
Join Date: Aug 2004
Posts: 782
|
Re: Windows 2000 not allowing .inf files to be saved? Help
No im trying to create the autorun.inf file.
Its a notepad file which conatins
[autorun]
open=whatever.exe
icon=whatever.ico
This is then saved as autorun.inf
Upon pressing save I get an error box which says format is read only, can not save, pick a different name.
This is my problem and this was not an issue with win98se, so im guessing its a setting in win 2000 (as like XP it nannies you a bit and assumes you dont know much) But I cant find it to turn it off so I can save the file.
No the CD has not even been thought of yet. I just want to save the autorun file so I can put in into the folder that needs to be burnt to a CD.
|
|
|
11-09-2004, 22:25
|
#6
|
|
Guest
|
Re: Windows 2000 not allowing .inf files to be saved? Help
Have you checked to see that it is trying to save the file to the hard disk and NOT the CD-Drive?
|
|
|
|
11-09-2004, 22:25
|
#7
|
|
Inactive
Join Date: Apr 2004
Location: Minas Tirith, Gondor
Age: 61
Posts: 3,458
|
Re: Windows 2000 not allowing .inf files to be saved? Help
Pop,
A nice easy solution for you.
Save the file as foobar.txt in notepad, then use Explorer, or even DOS  , to rename the file as autorun.inf.
If notepad is objecting to the word [autorun] in the file, you could try using the DOS echo command redirected to a file.
echo [autorun] >>fred.txt
type fred.txt
fred
Hope that helps.
|
|
|
11-09-2004, 22:28
|
#8
|
|
Inactive
Join Date: Jun 2003
Services: Weddings, christenings, barmitzvahs and funerals.
Posts: 860
|
Re: Windows 2000 not allowing .inf files to be saved? Help
I see. So you're trying to save your autorun.inf to a file in folder before burning it so CD.
Also, have you tried switching off hidden files, as the autorun.inf is usually hidden by default - not sure about the intracacies of Director but it might have automatically generated an autorun.inf file and hidden it.
|
|
|
11-09-2004, 23:42
|
#9
|
|
Inactive
Join Date: Jun 2003
Location: Los Angeles, CA
Age: 47
Posts: 6,343
|
Re: Windows 2000 not allowing .inf files to be saved? Help
In simple terms: "I want to create a bootable CD"...
|
|
|
12-09-2004, 00:39
|
#10
|
|
Dr Pepper Addict
Cable Forum Admin
Join Date: Oct 2003
Location: Nottingham
Age: 63
Services: Zen & YouFibre FTTP, Sky Q TV, Sky Mobile, Flextel SIP
Posts: 31,374
|
Re: Windows 2000 not allowing .inf files to be saved? Help
Quote:
|
Originally Posted by pop80_uk
No im trying to create the autorun.inf file.
Its a notepad file which conatins
[autorun]
open=whatever.exe
icon=whatever.ico
|
Sorry but this is still not clear to me - where exactly are you trying to create/save this file - what drive & folder ?
__________________
Baby, I was born this way.
|
|
|
12-09-2004, 11:29
|
#11
|
|
Inactive
Join Date: Aug 2004
Posts: 782
|
Re: Windows 2000 not allowing .inf files to be saved? Help
Trying to save the file to C: (hard drive), just into a folder I created, nothing special. It wont let me however save the file as autorun.inf , which it needs to be exactly to work. I dont understand why win 98 let me no problems, but win 2000 wont let me at all!??
|
|
|
12-09-2004, 12:46
|
#12
|
|
Dr Pepper Addict
Cable Forum Admin
Join Date: Oct 2003
Location: Nottingham
Age: 63
Services: Zen & YouFibre FTTP, Sky Q TV, Sky Mobile, Flextel SIP
Posts: 31,374
|
Re: Windows 2000 not allowing .inf files to be saved? Help
I suspect you are getting this message ;
Quote:
|
This file exists with Read Only attributes, please use a different file name
|
Basically the file already exists, read only, and I would guess hidden.
In explorer, go to Tools > Folder Options and then the "view" tab. Make sure "show hidden files and folders" is selected.
__________________
Baby, I was born this way.
|
|
|
12-09-2004, 13:06
|
#13
|
|
Inactive
Join Date: Aug 2004
Posts: 782
|
Re: Windows 2000 not allowing .inf files to be saved? Help
Thats the error message I get yes!
So If I change that setting I will then be able to save and edit the autorun.inf?
Thanks everyone, im off to test it works!
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 16:32.
|