Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Notepad saving failing

Closed Thread
 
Thread Tools Display Modes
Old 01-14-2008   #1 (permalink)
Jamie
Guest


 

Notepad saving failing

If I edit the file in notepad and try to save I get this message:
"Cannot create the C:\users\nathan\documents\htmlfilename.html file. Make
sure the path and filename are correct".

See this posting:
http://thevistaforums.com/index.php?...5&#entry195995

"Right-click on the Documents file and choose properties.
Select customize
Use this folder as template: All Items
Apply this template to subfolders"

This list a fix for when located in specific area but for myself these files
are not located it the documents folder and this fix does not work.

If you feel this post would be better served elsewhere (security, network
sharing) please let me know.

Old 01-15-2008   #2 (permalink)
R. C. White
Guest


 

Re: Notepad saving failing

Hi, Jamie.
Quote:

> "Cannot create the C:\users\nathan\documents\htmlfilename.html file.
Just to clarify, are you "nathan"? Do you have permission to access files
that belong to the User "nathan"?

RC
--
R. C. White, CPA
San Marcos, TX
rc@xxxxxx
Microsoft Windows MVP
(Running Windows Live Mail 2008 in Vista Ultimate x64)

"Jamie" <noway@xxxxxx> wrote in message
news:F500529D-35AD-4BDA-A074-F4C2F046DDA6@xxxxxx
Quote:

> If I edit the file in notepad and try to save I get this message:
> "Cannot create the C:\users\nathan\documents\htmlfilename.html file. Make
> sure the path and filename are correct".
>
> See this posting:
> http://thevistaforums.com/index.php?...5&#entry195995
>
> "Right-click on the Documents file and choose properties.
> Select customize
> Use this folder as template: All Items
> Apply this template to subfolders"
>
> This list a fix for when located in specific area but for myself these
> files are not located it the documents folder and this fix does not work.
>
> If you feel this post would be better served elsewhere (security, network
> sharing) please let me know.
Old 01-15-2008   #3 (permalink)
Jamie
Guest


 

Re: Notepad saving failing

> Hi, Jamie.
Quote:

>
Quote:

>> "Cannot create the C:\users\nathan\documents\htmlfilename.html file.
>
> Just to clarify, are you "nathan"? Do you have permission to access files
> that belong to the User "nathan"?
>
> RC
> --
> R. C. White, CPA
> San Marcos, TX
> rc@xxxxxx
> Microsoft Windows MVP
> (Running Windows Live Mail 2008 in Vista Ultimate x64)
No this was taken from another posting that I linked below.

Basically the user Nathan found out how to fix his problem by modifying the
Documents Folder properties and including all sub folders.

I myself have a folder off of C:\

So for example C:\webpages\web1\xxxx.htm

If I edt this file in Notepad and try to save over it I get the same problem
as Nathan. If I save it to a different location say my desktop and
move/copy the file to this location. It then replaces the file Notepad
couldn't save over.

I have full access to the file location.


Old 01-15-2008   #4 (permalink)
Malke
Guest


 

Re: Notepad saving failing

Jamie wrote:
Quote:
Quote:

>> Hi, Jamie.
>>
Quote:

>>> "Cannot create the C:\users\nathan\documents\htmlfilename.html file.
>> Just to clarify, are you "nathan"? Do you have permission to access files
>> that belong to the User "nathan"?
>>
>> RC
>> --
>> R. C. White, CPA
>> San Marcos, TX
>> rc@xxxxxx
>> Microsoft Windows MVP
>> (Running Windows Live Mail 2008 in Vista Ultimate x64)
>
> No this was taken from another posting that I linked below.
>
> Basically the user Nathan found out how to fix his problem by modifying the
> Documents Folder properties and including all sub folders.
>
> I myself have a folder off of C:\
>
> So for example C:\webpages\web1\xxxx.htm
>
> If I edt this file in Notepad and try to save over it I get the same problem
> as Nathan. If I save it to a different location say my desktop and
> move/copy the file to this location. It then replaces the file Notepad
> couldn't save over.
>
> I have full access to the file location.
>
>
This is why giving full information is so important. Are you sure that
you have full access to C:\? You may think you do, but I'm going to
guess that you really do not. The root of the drive is protected in
Vista. It will be much better for you to put your "webpages" directory
into your User directory; i.e., C:\Users\Jamie[your username]\Webpages
[new directory created by you].

If you really don't want to do this, then see this from Michael Bell
(MS). It refers to sharing the drive but I think the permissions issue
is applicable in your situation.

When you share out the root of a drive in Vista, the UI only allows this
through the advanced sharing option. When the advanced sharing option
is used it only sets the share permissions. The actual permissions on a
file share are a combination of Folder and Share permissions. In Vista
the everyone group doesn not have permissions so when you connect
without a password the system you can see the folders but not access
them or possibly connect to the share but fail to open it.

1. Open Computer
2. Right click on the shared drive and select properties from the
context menu
3. Select the Security Tab in the displayed properties sheet.

If you are connecting to the computer with no password then you are
connecting with the guest account. In order to access the files on the
drive, the everyone group needs to have access set here.


Malke
--
Elephant Boy Computers
www.elephantboycomputers.com
"Don't Panic!"
MS-MVP Windows - Shell/User
Old 01-15-2008   #5 (permalink)
Jamie
Guest


 

Re: Notepad saving failing

>
Quote:

> This is why giving full information is so important. Are you sure that you
> have full access to C:\? You may think you do, but I'm going to guess that
> you really do not. The root of the drive is protected in Vista. It will be
> much better for you to put your "webpages" directory into your User
> directory; i.e., C:\Users\Jamie[your username]\Webpages [new directory
> created by you].
>
> If you really don't want to do this, then see this from Michael Bell (MS).
> It refers to sharing the drive but I think the permissions issue is
> applicable in your situation.
>
> When you share out the root of a drive in Vista, the UI only allows this
> through the advanced sharing option. When the advanced sharing option is
> used it only sets the share permissions. The actual permissions on a file
> share are a combination of Folder and Share permissions. In Vista the
> everyone group doesn not have permissions so when you connect without a
> password the system you can see the folders but not access them or
> possibly connect to the share but fail to open it.
>
> 1. Open Computer
> 2. Right click on the shared drive and select properties from the context
> menu
> 3. Select the Security Tab in the displayed properties sheet.
>
> If you are connecting to the computer with no password then you are
> connecting with the guest account. In order to access the files on the
> drive, the everyone group needs to have access set here.
>
>
> Malke
> --
> Elephant Boy Computers
> www.elephantboycomputers.com
> "Don't Panic!"
> MS-MVP Windows - Shell/User
Malke,
1. I never said I had full access to C:\ I said "I have full access to the
file location." These rights could be set anywhere along the path.
2. I know when I have full rights to something. I have looked at the NTFS
security and I can see it for the folder and the file. Not only that I can
write over the file. I can delete the file.

This is not a sharing issue it is a NTFS rights issue or Notepad issue. I
have verified the rights already. Also if you read the posted link you will
see I'm not the only one having the issue and it wasn't solved via a rights
change.


Old 01-15-2008   #6 (permalink)
Malke
Guest


 

Re: Notepad saving failing

Jamie wrote:
Quote:

> Malke,
> 1. I never said I had full access to C:\ I said "I have full access to the
> file location." These rights could be set anywhere along the path.
> 2. I know when I have full rights to something. I have looked at the NTFS
> security and I can see it for the folder and the file. Not only that I can
> write over the file. I can delete the file.
>
> This is not a sharing issue it is a NTFS rights issue or Notepad issue. I
> have verified the rights already. Also if you read the posted link you will
> see I'm not the only one having the issue and it wasn't solved via a rights
> change.
>
>
OK, sorry - I was just trying to help. Sorry I wasn't able to. Good luck.


Malke
--
Elephant Boy Computers
www.elephantboycomputers.com
"Don't Panic!"
MS-MVP Windows - Shell/User
Old 01-23-2008   #7 (permalink)
Jamie
Guest


 

Re: Notepad saving failing

Malke,
I'm also sorry I was a bit frustrated at the time. I'm an MCSE (not Vista)
and I'm just really hitting my head trying to find out what is going on
here. So again thanks for trying. There have been some major changes in
Vista (why I got vista to learn them) and it is frustrating to not come up
with an answer.

"Malke" <notreally@xxxxxx> wrote in message
news:OUOy1Q7VIHA.2368@xxxxxx
Quote:

> Jamie wrote:
>
Quote:

>> Malke,
>> 1. I never said I had full access to C:\ I said "I have full access to
>> the file location." These rights could be set anywhere along the path.
>> 2. I know when I have full rights to something. I have looked at the
>> NTFS security and I can see it for the folder and the file. Not only
>> that I can write over the file. I can delete the file.
>>
>> This is not a sharing issue it is a NTFS rights issue or Notepad issue.
>> I have verified the rights already. Also if you read the posted link you
>> will see I'm not the only one having the issue and it wasn't solved via a
>> rights change.
>
> OK, sorry - I was just trying to help. Sorry I wasn't able to. Good luck.
>
>
> Malke
> --
> Elephant Boy Computers
> www.elephantboycomputers.com
> "Don't Panic!"
> MS-MVP Windows - Shell/User

Old 01-25-2008   #8 (permalink)
Jamie
Guest


 

Re: Notepad saving failing

I have finally figured out what the problem was. I was using explorer to
open the file with Notepad. When doing this Vista Explorer contains a
viewer of the file on the right hand side. Basically when trying to save
the file it can't because explorer has it open and locked.

Click off of the file in explorer and all of a sudden you can save.

"Jamie" <noway@xxxxxx> wrote in message
news:F500529D-35AD-4BDA-A074-F4C2F046DDA6@xxxxxx
Quote:

> If I edit the file in notepad and try to save I get this message:
> "Cannot create the C:\users\nathan\documents\htmlfilename.html file. Make
> sure the path and filename are correct".
>
> See this posting:
> http://thevistaforums.com/index.php?...5&#entry195995
>
> "Right-click on the Documents file and choose properties.
> Select customize
> Use this folder as template: All Items
> Apply this template to subfolders"
>
> This list a fix for when located in specific area but for myself these
> files are not located it the documents folder and this fix does not work.
>
> If you feel this post would be better served elsewhere (security, network
> sharing) please let me know.
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Notepad saving English text as Chinese Characters Roisin Vista General 0 07-23-2008 05:57 PM
Saving files in Notepad... silas Vista General 3 06-26-2008 04:06 PM
Notepad Linda Vista General 3 05-26-2008 06:49 AM
notepad chey Vista General 4 03-28-2008 02:00 PM
Notepad bug? Phillip Pi Vista General 8 06-15-2006 11:06 PM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

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