change the attributes or the permissions of the folder

I searched for this and the answers do not work. I have an app where I copy a folder to a CD on the C drive. When the application is finished I want to delete the folder. I can't do with my code. I can go to the folder in Explorer and uncheck the read-only option manually and it deletes fine. I tried SetPermissions, Attrib in Exec System, none doesn't seem to work. 2011 on an XP system.

An observation of note: when I get permissions it reads 511. When I have a--manually select read-only it still reads 511, but I can delete the file in the code. I simply don't deselect read only in programatticaly and I need to. Thank you.

I got a letter from a misplaced my system Exec command. Looks like it works now.

Under the terms of the great Emily Litella: "too bad!"

Tags: NI Software

Similar Questions

  • Change the folder on Windows Explorer.

    How can I change the folder that opens at the start of the Explorer?

    Click on the round of Windows (start) > all programs > Accessories and make Windows Explorer right click > properties > Shortcut tab and change the target in a box to where you want Explorer to open, for example to open the Documents folder, type (or change) the following %SystemRoot%\explorer.exe C:\Users\your user name\Documents\ then apply, OK, etc..

  • Change the folder to "BOLD" names

    I just spent XP to 7.0 percent   Talk about three steps back!

    I wish to have the names of folders in BOLD and a little bigger.  It is not

    seem to be a way to do it.   Any suggestions?

    Hello, Beatrice,.

    I would like to know some information about the problem so that we can help you better.

    What do you mean when you say "and a tad more"?

    Thank you for your query details.

    I also appreciate the fact that you want to change the folder to "BOLD" names.

    Please refer to the suggestions of André Furtado [MSFT] replied on 14 March 2012 and check if that helps.
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-files/is-there-a-way-to-change-font-or-style-to-folder/cff009f4-4C97-44CF-B891-856e94552570

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • I need to change the folder where download windows updates, I know there must be a way to do this.

    Could someone help me on this issue.

    I need to change the folder where download windows updates, I know there must be a way to do this.

    Updates Windows installation location cannot be changed. Windows updates tend to fix and replace the old files of the system, so it would normally replace a file in the System32 folder.

    If you want to free up disk space, see the following:

  • Installation of Windows 8, error: change the folder or the file C:\Users on drive c. name and change the folder or filename to C:\ProgramData on drive C.

    Try to install windows 8 on a PC that is currently running Window XP.  It starts the installation but asks me to change the folder or the file C:\Users on C drive name. The second instruction is to change the folder or filename to C:\ProgramData on drive C.   Don't know what to do?  Thank you!

    OT:

    Problem installing Windows 8

    Hello

    Before starting the installation, you run these controls?

    Check if the manufacturer of your computer/laptop has Windows 8/8.1 drivers available for your model.

    If this is not available, Windows 8/8.1 not install and work properly for you.

    There is a lot of information in this first link from Microsoft:

    http://Windows.Microsoft.com/en-us/Windows-8/upgrade-to-Windows-8

    "8.1 for Windows system requirements.

    http://Windows.Microsoft.com/en-us/Windows-8/system-requirements

    See you soon.

  • How can I change the folder where the application Photo looking for pictures?

    I have a new laptop and when I add pictures in the pictures folder in my library they do not appear in the Photos app. All it says "there no file or folder in this point of view." I'll try to find a way to change the folder "Photos" in the search, but I don't see anything. The only thing I can think is that this is my second camera Windows 8 (from a Surface Pro 3) and when I started this diet I said to copy my old setting and he can always try to search for images in the directory of the other system. I noticed that my music was the same, but they give you the option to change the folder from the outset.

    Hello

    Welcome to the Microsoft community. I will certainly help you with the problem you are experiencing.

    Please refer to the suggestions Adam A (Windows) responded to the March 8,2014

    and check if it helps.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows8_1-pictures/Windows-81-photos-app-does-not-show-any-photos/5b1740bc-d87d-4d07-afe5-c1a60cdecd55

    Note: To do: 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

     

    Hope this information was useful. Let us know the results once you have tried these methods.

    Thank you

  • How can I change the folder where the cache should be registered?

    How can I change the folder where the cache must be saved in Adobe Photoshop CC 2014?

    GoTo Edit > Preferences > discs to work.

    Drive D check and uncheck the C drive.

    Move the D drive to the top.

    Restart Photoshop.

  • How can I change the folder to be d:\work\ by default startup?

    How can I change the folder to be d:\work\ by default startup?

    He seems to be on file by default whenever I opened that I offer.

    I am using Bridge CS4

    Thanks in advance

    Line

    If the program does not open the last folder you visited you most likely have the option enabled to automatically load bridge at startup.  Disable this option in PS or close bridge before shutting down the computer.

    Post edited by: curt y

    If you always want it to start on a specific folder, you can leave it on autoload, go to the folder that you want to start, then exit bridge.  It should load this each time in the future.  Many of us discourage the auto load option because it can lead to other problems as well.

  • Office jet Pro 8600: how to change the folder for the scans on my Apple?

    Hi, I want to know how to change the destination for my scans folder when I scan from the printer.  Currently, the scans go to "documents", and I want him to be in a business case.  Clues?  I tried to watch some instructions on the previous posts, but it seems that they are for windows.

    Thanks for the help!

    Hi @jgossc,

    I'd be happy to help you change your scan destination. I understand that when you scan your Officejet Pro 8600 to your Mac, the file analysis is currently underway to your documents and want to let them instead to a business case.

    To change the destination please follow the steps below and let me know the results of your efforts:

    • Open HP utility
    • Select Scan to the computer
    • Click Scan tasks to change
    • Choose a shortcut to scan
    • Select Edition
    • In the options listed here, you should see scan destination

    If this resolves the issue, please click Accept as Solution button below; If not, let me know and I will do everything I can to help. Thank you.

  • HP OfficeJet Pro 8625: change the folder analysis HP OfficeJet Pro 8625

    How can I change the destination for the elements folder that I scan on my HP OfficeJet Pro 8625?  In another folder as "My Scans?

    I just spent an hour playing with all the settings of the printer...

    @dwp77

    You may have missed the "Overview of digitization" setting - select the preview allow the destination file / folder to be changed.

    See:

    Save the Scan to the specified location

    You can use other programs to scan / save / print your work:

    Options of the digitization program

    When you see a post that will help you,

    Who inspires you, gives a cool idea,

    Or you learn something new.

    Click the 'Thumbs Up' on this post.

    My answer-click accept as Solution to help others find answers.

  • installation of windows 8, Setup requires me to "Change the folder or file name of C:\users on drive C", but it won't let me

    ORIGINAL TITLE: hellllllpppp?

    Hi!, iam windows installation 8 and Setup requires me to do and I qoute, "Change the name of the file or folder of C:\users on drive C" well it won't let me change or even move and iam the admin here too, why it asking me that and how do I change because I can not go forwartd autour or under this so I can complete the set up iam using xp pro with 9 browser

    Hello

    Create a bootable USB drive or DVD from the .iso in Windows 8:

    http://www.eightforums.com/tutorials/2227-create-bootable-USB-DVD-Windows-8-release-preview-ISO.html

    Then start under it and install.

    If you do not format anything during installation, all your old files will be placed in folder C:\Windows.old.

    You can then copy what you want to keep, get out of here.

    After that, you can use the disk cleanup utility to remove this folder if you check the box to do this.

    Enjoy.

  • How to change the folder opens when windows Explorer opens

    In XP Service Pack 3, when Win Explorer is open, files that open has changed on its own (or I don't know what I did to cause this change). Records of Documents are all posted, but the C: drive is closed, where it will display all folders to open at this stage.

    How can I reset so that all the files under C: drive open when I open Win Explorer?

    Kind regards

    bytes2001

    Hello bytes2001,

    I enclose a link below that I hope can fix this problem.  Please let us know status.

    How to customize the Windows Explorer views in Windows XP: the bottom of the page talks about how to change the default folder of Windows Explorer.

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

    Thank you

  • can not change the folder targets to the folder my documents

    For some reason I'm not able to change the target destination. Does not allow me to type in the box.

    Hello

    Try the steps from the link: how to change the default location of the My Documents folder: http://support.microsoft.com/kb/310147

  • change the folder view to alphabetical to chronological windows Explorer

    I want to change this chronological order of watching one of the subfolders in alphabetical.

    Exp: Under my pictures folder, I have subfolders by year (i.e. 2006, 2007, 2008, etc.) who orgaize in chronological order but the subfolders of those subfolders are the months of the year and they are the list alphabetically - even if I spent a year at the front or at the end of the name of the month (so it still lists like this (: October 2006, September 2006)

    I want to know if there is a way to get the subfolders to list as a calendar discovering putting an order number or letter before the month month.

    Thank you

    MOM of Godzilla

    You want cannot be done because it recognizes the names like alpha-numeric characters and sorts alphabetically (just as it does for years - but this market because they are numbers).  Try to use a designation number instead of the alphabetical name of the month - 8-2006 to August 2006 and so on.

    If it is possible (and I don't), the answer is maybe in one of these articles (especially the sort order on one) - but probably you'll learn from them that's not possible because you have things to put in place:

    Here's how to change the default template for a folder: http://www.vistax64.com/tutorials/70819-windows-explorer-folder-view-settings.html.  Default behavior is to select the model based on the first type of file placed in the folder (you must choose something).  Vista sets the folder type template according to what are the types of files in the window and the settings display window Explorer. This will show how to reset the display settings for the Windows File Explorer, disable Automatic folder Type Discovery (which is I think what you want)and increase the folder display the cache to make Vista do not forget the display settings, the folder type template, the size or the position of a specific window for when it was still closed to the location of specific path.

    It does not work with the Sub record under, Open with, open in a new tab (Internet Explorer), etc... dialog windows of type through the good File menu bar item. These don't seem to be able to have their size or their position to recall. For the latter, you can use the free program http://autosizer.en.softonic.com/ to resize them.

    Here is another article on how to modify the columns in Windows Explorer and sort in Vista: http://www.vistax64.com/tutorials/108665-column-customize.html.  This will show you how Add, Remove, move, change the widthand change the sort order of the columns in Windows Explorer in the way that you want.

    Here is another article on how to change the display of the default folders in Vista (but she argues, it is not a perfect solution and can revert to the previous behavior is not as good as the two prior links provided: http://news.cnet.com/8301-13880_3-10019957-68.html.)

    Sorry it wasn't the answer you wanted to hear.

    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.

  • HP Envy 5532: change the folder analysis for HP 5532

    Just create a new printer and the scans to my computer automatically go to my folder 'images', I would like to change this default, but can't find no where do

    Can anyone help please?

    Hello

    In the Applications folder, go to Hewlett-Packard and open the HP utility.

    Under scan in, click computer manage them scan to computer option and then click the task button change.

    Select the relevant shortcuts analysis, click Show details and change the location of scan as required.

    Kind regards

    Shlomi

  • Change the folder options to show hidden files, but they do not display, and the option will not save

    I have a problem in my computer, its not display hidden files and folders. In folder options, I tried to check SHOW the FILES AND FOLDER CACHE and click on APPLY and OK but it does not work. Still hidden files are not displayed. but when I opened again Folder Options the one that is chosen is DO NOT DISPLAY the FILES AND FOLDERS HIDDEN. Several times I did but the same stills. I am logged in as administrator. How can I fix? Please tell me the solution and tell me is it caused by virus or not?

    Hi ZohaibJamil,

    If you have one machine to another,
    Then, click Run, type Regedit, go to the next topic & select export.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden

    Copy the file on the problematic machine, double click on it & select Yes.

    If you do not have another machine,

    Navigate to the registry entry above & change the values as below:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden

    NOHIDDEN - Checkedvalue (2)

    DefaultValue (2)

    SHOWALL - Checkedvalue (1)

    DefaultValue (2)

    That's all!

Maybe you are looking for