Folder permissions in Windows 7 - a program that creates a file always has the authority to check the size of this file?

Hello

Where I work, we have a phone call, saving application that creates records of calls as .wav files.

Before placing each record in long-term storage, the application creates a copy of the file (which is smaller) MP3 and then made a calculation of the free space to ensure that there is place in the long term for the newly created file storage.

As part of the application must check the size of the MP3 file that he had just created and - I thought - calculation of space under Windows 7 that determination of the size of the file is sometimes a failure.

(I think I understand, is that a .net function allows to determine the size of the file.)

My query...

If an application has sufficient privileges to create a file in a folder on the drive C: of the PC default also always have the right to determine the size of this file?

Or are these two completely separate rights?

For example, is it possible to have with no other rights granted write access?

Thank you very much.

The order of the questions, you asked:

Yes

Yes

NO.

It is indeed possible to give the file 'write' - access to the account, but not 'read' - access. However, even in this case the account can determine the size of the file.

Log in under the account you are using for the conversion allows you to confirm my answers. To see the size of a file, use Windows Explorer or the Console command "dir".

Tags: Windows

Similar Questions

  • You need to reinstall the windows XP Backup program that has been deleted by ardja software.

    You need to reinstall the windows XP Backup program that has been deleted by ardja software.

    Hello

    I suggest you to follow the steps in this link and check if it helps:

    http://support.Microsoft.com/kb/302894

    It will be useful.

  • whenever I click on a program, that it does not open and the 'open with' screen appears

    whenever I click on a program, that it does not open and the 'open with' screen appears

    Hello

    Use above message for intense and thorough check for malware.

    To restore the ability to run any .exe programs.

    1 make a Restore Point so that you can come back if necessary back although probably not required.

    How to create a Vista System Restore Point
    http://www.Vistax64.com/tutorials/76332-system-restore-point-create.html

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html
    2. copy BETWEEN these lines and paste it into Notepad - save as exefileFix.reg - then right
    Click on it and FUSION - REBOOT

    DO NOT COPY THE LINES
    -----------------------------------------------------------------

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\. [EXE]
    @= "exefile".
    "Content Type"="application/x-msdownload".

    [HKEY_CLASSES_ROOT\. EXE\PersistentHandler]
    @= "{098f2470-bae0-11cd-b579-08002b30bfeb}".

    [HKEY_CLASSES_ROOT\exefile]
    @= "Application".
    "EditFlags" = hex: 38, 07, 00, 00
    "FriendlyTypeName" = hex (2): 40, 00, 25, 00, 53, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 52,------.
    00, 6f, 00, 6f, 00, 74, 00, 25, 00, 5 c, 00, 53, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 33, 00,------.
    32,00, 5 c, 00, 73, 00, 68, 00, 65, 00, 6 c, 00, 6 c, 00, 33, 00, 32, 00, 2nd, 00, 64, 00, 6 c, 00, 6 c,
    00, 2 c, 00, 2d, 00, 31, 00, 30, 00, 00, 31, 35, 00, 36, 00, 00, 00

    [HKEY_CLASSES_ROOT\exefile\DefaultIcon]
    @="%1"

    [HKEY_CLASSES_ROOT\exefile\shell]

    [HKEY_CLASSES_ROOT\exefile\shell\open]
    "EditFlags" = hex: 00, 00, 00, 00

    [HKEY_CLASSES_ROOT\exefile\shell\open\command]
    @="\"%1\" %*"
    ""IsolatedCommand"="\"%1\" %. "

    [HKEY_CLASSES_ROOT\exefile\shell\runas]

    [HKEY_CLASSES_ROOT\exefile\shell\runas\command]
    @="\"%1\" %*"
    ""IsolatedCommand"="\"%1\" %. "

    [HKEY_CLASSES_ROOT\exefile\shellex]

    [HKEY_CLASSES_ROOT\exefile\shellex\DropHandler]
    @= "{86C86720-42A0-1069-A2E8-08002B30309D}".

    [- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe\UserChoice]

    --------------------------------------------------------------
    DO NOT COPY THE LINES

    If necessary:

    Check the fix of exe here
    http://www.Winhelponline.com/articles/105/1/file-association-fixes-for-Windows-Vista.html

    Also check this one if it applies
    http://www.Winhelponline.com/articles/165/1/restore-the-exe-file-association-in-Windows-Vista-after-incorrectly-associating-it-with-another-application.html

    How to set default Associations for a program under Vista
    http://www.Vistax64.com/tutorials/83196-default-programs-program-default-associations.html

    I hope this helps.

  • The duplicate files. Same file appears in different directories - how to identify the programs that use these files?

    Hello

    Question 1 - I have a list of duplicate on my computer files. Very often, the same file appears in two or more different locations. So I guess this could mean different copies of the same file is used by various programs. It would then be important to know what program is using this file prior to the removal of duplicates.

    Question 2 - it would be possible to point all programs that use a file given in one place? That is to centralize the location of a file. What I think, could eliminate the need to have different copies at different locations. If so, how is it please?

    Thank you for your help.

    The duplication that you see is the result of a bad installation program written by eSupport. It has nothing to do with Microsoft. I could do this:

    1. Rename the folder c:\eSupport in eSupport.junk
    2. Wait a week or two.
    3. If all goes well, remove the renamed folder.
  • I use Windows XP and care April 2014 if I always use the it, what will happen after that Microsoft no longer supports it?

    I use Windows XP and care April 2014 if I always use the it, what will happen after that Microsoft no longer supports it?  My computer will become unusable?  It works great and I would keep it if I can.  I use a Dell Inspiron 530 desktop.  Some people have told me that "nothing will happen" and others tell me that my computer will be more vulnerable.  I use ESET NOD 32 and Malwarebytes.  They tell me that they should still continue to work.  I am told that because my computer was purchased in September 2008, he cannot me upgraded to Windows 7.  I'm not a geek and would need assistance "passage" my files from one computer to the other as well.  And then what to do with my old top office.  I'm very worried and I had to face the fact that Microsoft is not going to deliver any security updates patches after April of 2014.

    I can't wait to hear from someone on this problem and more just to go out and invest in Windows 8!  Thank you.

    I can tell you one thing, all or almost of windows xp device drivers will disappear from the computer manufacturers support websites and will reappear on all these shady sites who claim to be download for free but comes with unwanted software. Download the latest device drivers and keep several copies of them and download them to your skydrive or dropbox account fo guard.

    I doubt that will happen. I've seen Windows 2000 drivers still on websites mfg.

  • Windows media player refuses to play a few songs I download on limewire. It is said that it is impossible to read the encryption of this codec. What can I install so that WMP can make me hear these songs? Email removed for privacy

    Windows media player refuses to play a few songs I download on limewire. It is said that it is impossible to read the encryption of this codec. What can I install so that WMP can make me hear these songs?
    E-mail address is removed from the privacy *.

    Hello

    • What is the format of the files you are trying to play?
    • You have any third-party media players installed on your computer?
    • Are you able to read the file in the built-in player of Limewire?

    For the types of files supported by Windows media player click on the link below

    Information on the types of media files that supports Windows Media Player
    http://support.Microsoft.com/kb/316992

    Concerning
    Anthony.

  • When you try to edit my Adobe document, a window appears which says that I have to use Adobe LiveCycle Designer to change.  Why is this and can it be corrected?

    When you try to edit my Adobe document, a window appears which says that I have to use Adobe LiveCycle Designer to change.  Why is this and can it be corrected?

    It used to be delivered for free with Acrobat Pro, but amy either. You have now

    you have to buy separately.

  • How to cancel the subscription. I am being charged monthly for a program that is not pop up on the tab plans and services.

    How can I cancel a subscription. I am being charged monthly for a program that is not pop up on the tab plans and services. I don't remember if it's creative cloud or something else. I remember logging in the past months to cancel it, but I couldn't find the way.

    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If he continues to not try to use a different browser.

  • A computer repair shop can install windows on someones computer off a 'set of generic disks' if the computer has the right to this type of windows via a PIN single/code/serialnumber?

    A few years back, I took a computer to a repair shop and had not the discs, the repair guy said that they could legally restore the computer and load it on a wide a copy of a random/generic windows (the same computer had the right of)

    is it legitimate?

    Seems like it would be, I mean if the computer has the right to this title, but I don't know if you're telling me.

    Thank you

    If the Windows license is an OEM license (ie. the computer was purchased from a company like Dell, HP, etc. with pre-installed Windows), then the license is bound to the machine.  Each manufacturer has a way to check their OEM license is valid.  One method is for the manufacturer to place a code in the BIOS of the motherboard that validates the copy of XP, when installed with a floppy disk to install from the same manufacturer.  So it should be perfectly legitimate to restore license OEM to the originating from a floppy to install OEM computer.

    HTH,
    JW

  • I have a Dell Inspiron Mini Windows 7 starter from a pawn shop and it has the previous owner on this subject and I can not log on because I need there password. Can someone help me with this?

    I have a Dell Inspiron Mini Windows 7 starter from a pawn shop and it has the previous owner on this subject and I can not log on because I need there password. Can someone help me with this?

    The only safe option is to perform a factory restore. If you do not, then you are likely to be confronted with a machine that is seriously infected or was hacked. Have a look here for instructions:

    http://support.Dell.com/support/topics/global.aspx/support/KCS/document?c=us&l=en&s=Gen&docid=DSN_336966&isLegacy=true
  • How can we change the default zoom setting so that when you open a PDF the size of the displayed document zoom is that you need it to be?

    How can we change the default zoom setting so that when you open a PDF the size of the displayed document zoom is that you need it to be?

    Hi CKWAZTRANSINC,

    Open Acrobat Reader DC, navigate to the Edit-> Preferences-> Page Display menu-> set your required Zoom percentage.

    Click OK to confirm the change.

    Restart the Acrobat Reader DC to test.

    Let me know if it solves your problem.

    Kind regards
    Nicos

  • whenever I tried to open a program, a window opens asking me programs that should be used to open the other program

    I was remove some unnecessary programs and sudennly the computer ask me which program to use to open the other program. I turned off the computer and then I used safe mode to see if I could restore my computer to a quick setup. but the very thing. I don't know if I erased by mistake som program. This never happened to me before. I use windows XP. I use internet explore to open a program and send me just for internet explorer, but not programs to opt I want you use. Any help o help to solve this problem? I'll apreciate any help thanks.

    Hello

    I suggest you to related changes by default by using Set Program Access and computer defaults:

    Method 1:

    How to change your default programs and enable or remove access to Microsoft Windows programs and non-Microsoft: http://support.microsoft.com/kb/332003

    Method 2:

    How to change or choose the program that starts when you double-click a file in Windows XP.

    http://support.Microsoft.com/kb/307859

    Method 3: If the problem persists, then try to create a new user account and check if it helps.

    How to create and configure user accounts in Windows XP

    http://support.Microsoft.com/kb/279783

    Hope this information is useful.

  • I did a system restore and boot has changed. The only program that I can open is all the others, that I wonder select the program to use to open with Explorer. What should I do?

    It is no longer a row of icons at the bottom right, and asked me to choose a program to use to open files

    Hello and welcome to Microsoft Answers. It seems that your computer is infected with malware. The first thing you need to do is re - associate your executable files with applications.

    First

    Click Start > run > type cmd in the Run dialog box, and then press ok. On the line of command prompt type "assoc.exe = exefile" without the quotes. If you are unable to open the applications follow the second below.

    Second

    Right click on start > search. Type rundll32.exe in the field of the files to be searched. Choose to search for your main drive (usually C). Select the search hidden files and folder advanced features. Click on the search button to start the search. In the results list, find the associated rundll32 file C:\WINDOWS\ServicePackFiles\i386. Right-click on rundll32 to the left of the directory above and choose 'open file location '. The rundll32.exe file should be highlighted when the folder opens. Right-click on the file and choose copy. Then, in the search results list, right-click on rundll32 which corresponds to C\Windows\system32\rundll32.exe and choose "open file location". Again the file should be highlighted. Right-click on the file and choose Remove. Right click again in a free space in the folder and choose Paste. If this does not resolve your problem, you will need to get a windows OS disk and extract the file from there.

    Once this problem is solved, you will need to perform several anti-malware analysis. You should start with Malwarebytes. Make sure that you update the parser before the scan.

    Malwarebytes.org

    How to use Malwarebytes

  • C:\Windows\Temp could not be saved, because you cannot change the contents of this folder. __

    Someone knows how can I fix?  I can't download anything because of this error, I tried a system restore, but that did not work.  Any help would be great.

    Click Start, click computer.  Then click on your system (probably C:\) drive and when it opens, you should see a folder named Windows.  This is the folder I'm talking about.

    Is what program this?  I don't think I've seen a program that automatically and without offering alternatives downloads in C:\Windows\TEMP never - even in the days of DOS.  Are you sure that this program is safe and compatible with your system and the version of Vista?

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Account of Vista standard user will not open programs that more, can only open with the administrator account

    Whenever I try to open a program on a standard user account, a window opens asking "what program you want to use to open this with?", which is of course less useless.  I can open all programs with the administrator account, but then I can't access files of the standard user...  What happened all of a sudden; We had a malware infection that is now deleted and who may well have caused the problem.  If I use the system restore, the malware will return?  Prefer not to use SR if there is a better solution...

    Hello

    Method 1: Run the fixit available in the link below

    Difficulty of the shortcuts of broken office with common system maintenance tasks http://support.Microsoft.com/mats/system_maintenance_for_windows/en-us

    Method 2:  Follow the steps described in the article below and then check out

    When you run an .exe on a Windows Vista-based or Windows 7 computer file, the file may start another program

    http://support.Microsoft.com/kb/950505

    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base.
    How to back up and restore the registry in Windows

    If the problem persists, the user account may be corrupted

    Method 3: Follow the steps mentioned in the link below to fix the corrupted user profile

    Difficulty of a corrupted user profile
    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

Maybe you are looking for

  • S5-1014 Desktop: compatibility Windows 10-How do fix my computer tested by HP?

    Using the HP Wizard, the action list includes getting my PC tested by HP for compatibility with Windows.  Whenever I click the red button to do this, I get a generic response, saying that the computers manufactured before August of 2013 are not compa

  • Re: Satellite C50D-A-11 q - how to get key WIn8 and use it on the new HARD drive?

    Hello hard drive died in my laptop. How do I get my key Windows 8 so I can install the new hard drive? Thanks in advance Stuartnessydoo

  • SystemBuild

    My diagrams systembuild filled circles on some of the connections which makes it difficult to read. I use v719.  Y at - it a fix for this problem?

  • Is the E5-571 model?

    I am really interested in buying this model which is available in the curries and Amazon store. However, I find its not listed in the Acer store and very few customers on this model customer. Are there known issues or is it a model recalled or abando

  • Why some see video thumbnails and others do not

    I have downloaded many videos on the internet and in my video folder some of them you can see what it is (the thumbnail shows a picture of the clip) and some are not (ie. real just show a picture of R)?