Changing File Attributes

I have a folder that was created in Windows XP and it was given the "hidden" option. I would like to remove the hidden attribute of this folder but am unable to find a way to do it in Finder. Can anyone offer instructions on how to change the hidden attribute?

is this file on a windows formatted drive? if so you can only do it from windows.

Similar Messages

  • HT2470 allow user full rights ie save files in any location, change file attributes etc - how, where?

    how and where do I give my user full rights ie to save files in any location, change file attributed(from read only ) etc

    The simplest way is with the chmod Terminal command.
    Warning: unless you know exactly what you are doing, you are almost certain to break something with indiscriminate use of this command. Make sure at least your data files are backed up (& ideally in offline storage) before you experiment with this command, & note that you can mess things up enough that you will have to reinstall the OS to recover.

  • CF9/10: Change file attributes

    Hello, everyone,
    Is there a way to change the attributes of a .txt file that already exists?
    For example:  I use CFFILE to write a .txt file that is blank, and supply the "readOnly" attribute.  Later, I want to dynamically add data to the file.  How do I set the .txt file to NOT readOnly so I can add data?  And, conversely, how do I set the attribute back to readOnly?
    V/r,
    ^_^

    An example on Windows, using 3 steps:
    <cfset path_to_directory="C:\Users\BKBK\Desktop">
    <!--- Create readOnly blank text file --->
    <cffile action="write" attributes="readonly" file="#path_to_directory#\testFile.txt" output="">
    <!--- Disable readOnly attribute --->
    <cffile action="rename" attributes="normal" source="#path_to_directory#\testFile.txt"  destination="#path_to_directory#\testFile.txt">
    <!--- Write some text to file, switching readOnly attribute back on --->
    <cffile action="write" attributes="readonly" file="#path_to_directory#\testFile.txt" output="Some text">
    Done!

  • Is it possibly to change file attributes for files in the Program Files directory?

    Hi,
    I wonder if it is possible to change file time atributes for a file that is in the same folder as the exe file inside the Program File folder. I have the following code that gives System Error Code 5.
    SHGetFolderPath(0, CSIDL_PROGRAM_FILES, 0, SHGFP_TYPE_CURRENT, programpath);
    PathAppend (programpath, TEXT("Testprogram/gnsh.dat"));
    hFile = CreateFile(programpath, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
    If this had worked, I would for instance have done like this
    GetSystemTime(&st); SystemTimeToFileTime(&st, &ft);
    timeresult = SetFileTime(hFile2, NULL, NULL, &ft);
    I am programming in C with WIndows Api.
    Thanks in advance for answer.
    Best regards

    Hi Vahmat,
    System error code 5 :
    ERROR_ACCESS_DENIED
    5 (0x5)
    Access is denied.
    I have tested your code on my side, it will get a error code 5 if you have no permission to access a file. Please try to run VS as a administrator and rebuild your project, after this , you code works well on my side.
    Best regards,
    Shu Hu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Off Topic: Change File Attributes (date)

    Hi All,
    Sorry this is off topic but I need a quick fix. I need to
    change the date stamp on a set of files within a directory. Anyone
    know a quick trick? Just need to mark all files with today's date.
    We are restricted on freeware and shareware on site, so would
    rather do this without downloading third party software.
    thanks
    Craig

    Yeah I could do with a fix too, it's that sort of a day!
    You are old enough and ugly enough to remember DOS. I think
    you could change it there. In Windows I think you are restricted to
    using third party software. I have a good programme. Want to drop
    by here lunchtime with all the files on a memory stick?

  • Question about changing file attributes

    Hello,
    My application brings a support file and it copies it to another directory. Then I should make that file hidden but I cannot find a function how to do it. I guess LV doesn't have that possibility in its functions. Any pointer to a Windows component?
    Thanks,
    Marce

    Marce wrote:
    ... I should make that file hidden but I cannot find a function how to do it. I guess LV doesn't have that possibility in its functions. Any pointer to a Windows component?
    You may want to take a look at Shaun Rumball's windows_api_1.0.llb. The link to his website seems to have died, but it's been posted in this forum a lot including here.
    Try GetFileAttributes.vi and SetFileAttributes.vi.
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."

  • Changing Unix file attributes in target host

    Hello,
    I need to transmit a file from a SAP server to a target host in Unix.
    Actually the transmission is OK. I'm using the SAPFTP program.
    Now, my problem is that in the new file on the target system (in Unix) I need to change the file permissons to 777.
    The FM FTP_COMMAND doesn't work because the command chmod is not available through ftp. If I use this, I receipt the message "502 SITE command is not implemented".
    Somebody have another idea to change the Unix file attributes in a remote way from ABAP?
    Best regards!

    Hi Roberto,
    Look at the below BLOG, this explaines about the Commands which we use in FTP ..
    /people/thomas.jung3/blog/2004/11/15/performing-ftp-commands-from-abap
    Regards
    Sudheer

  • How to change the attributes of an XML file

    hi peeps 'ope you can help me here i need to change the attributes of an xml file, i parse it first using a DOM parser but i cant find a way to change the attributes in the XML file, setAttribute() works only at runtime and doesn't change the attribute in the file itself. I can't find a method that will answer my question. I've searched through the forum and found similar threads....they say in order to write and change the attribute i must use the write() method of the XmlDocument class defined in com.sun.xml.tree.XmlDocument. But, i found another thread, and it says that com.sun.xml.tree.XmlDocument is not safe to use and i should use org.apache.crimson.tree.XmlDocument.....i can't find the XmlDocument class and the API for this package so i really dont know where to start...hope you guys can help me! thnx

    thanks for responding roland....i already found the solution...i didn't use the XmlDocument class because i can't find any documents about it except for JAXP 1.0 here is my code snippet...i used the TransformerFactory and Transformer class to write
    import org.w3c.dom.*;
    import org.w3c.dom.traversal.*;
    import javax.xml.parsers.*;
    import javax.xml.transform.*;
    import javax.xml.transform.dom.*;
    import javax.xml.transform.stream.*;
    Document doc = null;
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    DocumentBuilder db = dbf.newDocumentBuilder();
    dbf.setValidating(false);
    doc = db.parse(fileGetFile); //this is the XML file
    n1 = (Node)doc.getDocumentElement();
    e1 = (Element) n1;
    NodeList nodeList = doc.getElementsByTagName ("File");
    //just insert whatever you want to do with the XML...parse it..set/change the attribute..etc....sample snippet below changes the attribute downloaded to "no"
    for(int iWriteFailed = 0; iWriteFailed <nodeList.getLength() ; iWriteFailed ++){     
    n2 = nodeList.item(iWriteFailed);
    e2 = (Element) n2;          
    e2.setAttribute("downloaded", "no");}
    try{
    TransformerFactory transformerFactory = TransformerFactory.newInstance();
    Transformer transformer = transformerFactory.newTransformer();
    transformer.transform(new DOMSource(doc), new StreamResult ( new FileOutputStream ( fileGetFile) ) );}
    catch(Exception trans){}
    thanks for responding and keeping the information interchange alive here in the forum...
    Pau

  • Crystal Reports XI Pro About 25% of DLL File attributes changed on install

    Post Author: sakelly
    CA Forum: Deployment
    I am having problems preparing an installation of Crystal Reports XI Pro in a Sanctuary Application Controlled environment where the unique file hashes of DLLs and EXEs need to be recorded and pre-authorised before they can execute.  This is because when Crystal Reports XI Pro installs it changes the content of a large number of dlls (for examples chartui.dll and CEReportSource.dll) which all have new file create and modify dates.  Hence the file hashes of a previous installation which are authorised for use are different and the application fails to run.Are these changes necessary?  It is quite rare to see any application change files this way (sometimes except for licensing reasons).Is there anyway of customising the install to stop the files from changing on install?Will it be safe to overwrite files that are installed with previously installed files (which have been authorised?)  I've done some basic testing and it appears ok but a lot of these files are only accessed when producing reports.Thanks,Shaun KellyFurther details on Sanctuary product http://www.lumension.com/Sanctuary_AC_Endpoint_Security.jsp?rpMenuId=118466

    The closest to a solution I came up with was to try installing Crystal Reports XI from the cds. When the error occurs click to ignore the error and proceed with the install. After the install is finished, the installer will check for updates which gives a link to Crystal Reports XI Release 2 Service pack 4. This is a complete install file of around 1.7 GB in size. Using this install removes the old Crystal Reports XI Release 1 which is where this issue springs from, and installs Release 2 with no errors. Dll versions will change from 11 to 11_5 and the Crystal Viewer will have updated features, like their calendar no longer loads externally within a small internet explorer window, but rather it loads an internal calendar control. After you have installed the updated install file that is the Release 2 version, you can go to this link and install the Service Pack 5 update that Business Objects came out with. Try here: [http://resources.businessobjects.com/support/additional_downloads/runtime.asp#04]

  • Error: 2330. Error getting file attributes: C:\Program Files (x86)\adobe\reader 9.0\reader\amt. GetL

    Hi!
    I got this error while trying to uninstall my Adobe Reader MUI 9.5.4.: "Error: 2330. Error getting file attributes: C:\Program Files (x86)\adobe\reader 9.0\reader\amt. GetLastError: 117". The message pops after a long long while.
    I have to remove my Adobe Reader because whenever I try to open a pdf I get the error: "Adobe failed to load it's core DLL" (something like that). I want to remove and re-install adobe reader.
    I ran TDSSKiller and nothing was found abnormal.
    I checked the registry and everything seems fine.
    I tried to repair/change the current Adobe Reader version and nothing happens.
    I tried to install a newer version of Adobe reader but the installer freezes at 96%.
    I'm using Win7. Can anyone help? Thanks!

    You may also find this useful:
    http://helpx.adobe.com/acrobat/kb/reader-core-dll-error.html

  • Windows file attributes not preserved

    Hi,
    When Windows(XP) clients connect to file shares (from a 10.4.7 server) and open the Properties dialog for a file, they are able to set the various Attributes (Read-only, Hidden, Archive).
    However, on re-opening the Properties dialog, they find that the attribute settings they have made have not been preserved. (ie. All attributes checkboxes are unchecked.)
    Does anybody know if there are any settings I need to change on the server to enable support for Windows file attributes?
    Thanks in advance,
    Rob.
      Mac OS X (10.4.7)  

    I'm 
    Forgot to look there.  It works nice.  It is a little slower then NI's version, but does what I want.  Is NI planning on updating their ZIP API's?
    Thanks!

  • File attributes problem in sFTP folder

    Hi,
    We are doing a Synchronous process (File - RFC - File). When the input file is placed in the input folder of sFTP location it is with the permission rw-r-r. We are not able to process this file. It is not able to pick up the file.
    We are only able to process the file through PI which atleast has the permission rw-rw-r.
    is there anyway that PI can go and change the attributes of the file before it starts the processing.

    Are you using third party adapter or any specific settings for accessing this sFTP folder? The standard PI File adapter cannot make sFTP connection directly.
    Regards,
    Prateek

  • Changing Marketing attribute in BP Master

    Hello
    Can anybody tell me if we can change marketing attribute already maintained in BP Master details.
    Is it possible to go for mass change of a particular attribute like through loading an excel file having list of all BPs.
    I cannot do it by creating Target group as it will list all the BPs with that particular Attribute i want to change.
    I need to do it for around 500 BP master( not all BPs having that attribute)  so cannot manually change it.

    Hi ,
    You can also get this done by using ELM by mapping the fields in excel file to the fields of the BP.
    Create a mapping format using Tcode : CRMD_MKTLIST_MAP
    Upload the file using the T Code : CRMD_MKTLIST
    If you have any futher help let me know.
    Regards,
    Madhu

  • Dynamically Changing Location Attributes

    Hi All,
    Has anyone ever successfully set up a BefConsolidate event script with a dynamically changing location attribute. The FDM Admin manual says you can do this:
    RES.PblnValEntGroupOverride=True
    RES.PstrValEntGroup=”MyNewEntityGroup”
    It does not work for me when I sub in a new Validation Entity Group. Has anyone had luck with this? See my actual code below. The new validation group name is 281.
    Sub BefConsolidate(strLoc, strCat, strPer, strTCat, strTPer, strEntGroup)
    RES.PblnValEntGroupOverride=True
    RES.PstrValEntGroup="281"
    End Sub
    Thx,
    Mike

    Hello,
    Yes I am able to write to file before end if.  I also took out end if statement which to me would me FDM would fire the event for all locations without restriction.
    I have not tried the same code in other event script.  Would that work?  The RES statement specifically relates to a consolidation trigger.  I can try another event to see.
    Thanks.

  • FCP 6 to FCP 7 FILE ATTRIBUTE MISMATCH

    I'm working on a project with a friend who has Final Cut Pro 6 and we took the project and media files from his computer, put it on a drive and put them onto my computer which has Final Cut Pro 7. Everything works, HOWEVER I get a "File Attribute Mismatch" stating that the attributes differ from the original *Media Start and End*. Do we have to do something else when taking them off of his computer or do I need to change my timeline settings to match his or something? I'm not really sure. Thanks.

    Use Media Manager (in FCP's File menu) to copy the project and media to a single folder.
    Test the project thoroughly before moving it to the FCP 7 machine.
    As what already you have is a copy, there will be no harm done in simply dismissing the "Media start.." message. Might be that the project works fine anyway.

Maybe you are looking for

  • How to pass parameter from SSO login page to ADF application page?

    We have ADF-JSF application (running on AS 1013) that is being protected by OID running on AS 1012. SSO login page contains (among others) paramter ssousername and I wish to pass this to my ADF application. For the testing purpose I created ADF appli

  • Ordimage performances big issue, please help

    Hi, we are developing a visual retrieval application based on Intermedia. The Database is Oracle 10g (10.1.0.4) The Database is a RAC(Real Application Cluster) running on 2 Servers The storage is a 2TB SAN Each server is a quad-CPU (Itanium 2, 3GHz)

  • Problem with Parcial trigger on master Datail

    my Entities : group: gId,parentId,name roles : pId,name permission: gId,pId my Associasions: GroupToGroupAssoc -> group.gId & group.parentId GroupToPermissionAssoc -> group.gId & permission.gId and i have a view on Group (that is shown as a tree on a

  • New SP Custom List results in Power Query Error: Expression.Error: The key did not match any rows in the table.

    Hi, I'm running into something that seems to be a bug in Power Query. I've got my Power Query tables from SharePoint lists into Excel and Power Pivot data model. (Making sure the SharePoint site is in English and I replace MMD columns with normal col

  • "Post Button" for post parked document

    Hi all, I have a issue about workflow for parked document. The workflow it can work properly. But When the authorized person have relased and want to post the parked document, but there isn't even see the "post" button? I can only see "park" and "sav