[JS MAC] Problem of path of the file with special characters

Hello

I'm trying to declare the path of a file on a text file. One of the folders includes a special character such as "love".

So, when I try to write a txt file with this path, it fails.

Here are some that I've isolated for debugging.

The problem appears on a Mac, but may be present on a PC as well.

Given a file open in Indesign

This file is placed in a subfolder named "love."

Dittos var = line (app.activeDocument.fullName);
var myFileFullName = theFile.fsName;
var modifsArr = [];
modifsArr.push (myFileFullName);
var queue = txtFile (Folder.desktop + "/ test.txt");
If (file (Folder.desktop + "/test.txt").exists is false))
{
var txtFile = new file (Folder.desktop + "/ test.txt");
}

txtFile.open ("e");
txtFile.seek (0.2);
modifsArr = modifsArr.join ("\r");
theFile.write (modifsArr); Here the writing fails
theFile.close ();

How can I solve that?

TIA

Loïc

Adjust File.encoding...

Dirk

Tags: InDesign

Similar Questions

  • empty data file with special characters in the name

    Hi all

    I'm having a problem with an empty data file which is in recovery mode.

    Before the following has been a success:
    ALTER database create datafile 'fully_qualified_file_name' as 'fully_qualified_file_name ';
    recover data file "fully_qualified_file_name";
    ALTER database datafile 'fully_qualified_file_name' online;

    But this time it does not work as I get an error:
    ORA-01516: file nonexistent journal, data file, or temporary file
    Using the file id does not work either.

    When I created a record of control file I see the data file has special characters in the name:
    ' / oracle/PRD/112_64/dbs/PSPR3I ^? ^?'

    Since it is empty, it would be possible to create the data file void anothr
    using the:
    ALTER database create datafile ' / oracle/PRD/112_64/dbs/PSPR3I ^? ^?'
    as ' / oracle/PRD/spdata2/r3i_8/r3i.data8';

    and then recover datafile 'fully_qualified_file_name ';
    ALTER database datafile 'fully_qualified_file_name' online;

    How orders oracle faced with special characters?

    Thanks for your advice

    user6737818 wrote:
    Hi all

    I'm having a problem with an empty data file which is in recovery mode.

    Before the following has been a success:
    ALTER database create datafile 'fully_qualified_file_name' as 'fully_qualified_file_name ';
    recover data file "fully_qualified_file_name";
    ALTER database datafile 'fully_qualified_file_name' online;

    But this time it does not work as I get an error:
    ORA-01516: file nonexistent journal, data file, or temporary file
    Using the file id does not work either.

    When I created a record of control file I see the data file has special characters in the name:
    ' / oracle/PRD/112_64/dbs/PSPR3I ^? ^?'

    It should work using a file as the definition of source file number and a new name for the new file. Works for me:

    orcl> alter database create datafile 7 as 'c:\tmp\newname.dbf';
    
    Database altered.
    
    orcl>
    
  • path to the file with mac os

    I'm trying to make an application to work with Mac Office AIR.

    This app is a simple charger using flash.display.Loader

    I can't simply load an image using this path:

    file:///users/myself/documents/images/image.jpg

    I am not sure mac OS, someone a idea?

    Thanx

    Found!

    '-' must be ' / '.

    and

    musth absolute path starting with "file:///".
    file:///myPath/image.

  • The menu label Muse with special characters when exporting html site, do not work

    I create a web site with a menu navigation Muse. In the menu (labels), I have some special characters (Portuguese characters) as a and i (official, noticias) c. When I export to html format in a folder this menu buttons don't work - html link - http://agml.pt/agmlteste/ . But when I save the temporary link Business Catalyst site - http://agml.businesscatalyst.com/ keys work well. Thanks for the help!

    The issue here is your host is not configured to serve the page with special characters names, but BC does not handle them correctly.

    Right-click on your pages and choose "Page Properties".  Go to the third tab, 'options', and clear the check box to use filename with the same name as the Page name.

    Use a file name that does not contain these special characters and it should work fine.

    See you soon,.

    Justin price

    Community Manager

  • Error: "file 9xmigrat.dll on (unknown) is needed type the path where the file is located, and then click ok" when you try to install Windows Media Player 9.

    original title: WMP9 re-setup

    Hello. I use XP SP3 with all post-SP3 updates critical. Windows Media Player 9 does not work. When I try to reinstall, I'm stuck: the 9xmigrat.dll of file on (unknown) you need to type the path where the file is located and then click ok. I like WMP9 and do not want to use a newer version of WMP. I was not able to find 9xmigrat.dll

    This happens when I try installing to wmp.inf.

    If I try to install the MPSetupXP.exe, it does not either.

    Any ideas? TIA

    Thank you, David. It seems that the problem was caused by incorporating the updates for WMP9 using nLite. I made another CD of installation excluding these updates. A clean install of XP SP3 and WMP9 is working. Thank you for your response.

  • Can't find Script engine "VBScript" for Script alongwith the path of the file

    Original title: Vb Script engine

    Dear all.

    I downloaded the update to Android 2.2 Froyo on motorola Web site. When I run the exe, I get a message, can't find Script engine "VBScript" for Script alongwith the path of the file. Once I click Ok, the exe execution is aborted. Please suggest a solution for this problem. I have Windows Home Premium 64 bit OS

    Rgds,

    Sachin.

    Hello

    1 did you change on your computer before this problem?

    2 are you able to install any other software on your computer?

    This occurs if the filevbscript.dll runtime script is not properly registered in the system, I would say you follow these steps and see if it works very well.

    Method 1

    Try to install the program in high mode.

    (a) right click the program.

    (b) select run as administrator.

    Method 2
    a. click the Start button, type cmd. In the result of the research with the right button on cmd and select run as administrator.
    b. type cd %windir%\system 32 (Note: there is a space between the system and 32) and press ENTER.
    c. type regsvr32 vbscript.dll in the command prompt, and then press ENTER.
    d. type regsvr32 jscript.dll in command prompt, and then press ENTER.

    If the registration was successful, you should now see the following message is displayed:
    DllRegisterServer in vbscript.dll successful.
    e. now right-click on the Setup file of windows cleanup utility and select run as administrator.

    Method 2

    If the problem persists, you can run the System File Checker and see if it works fine.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

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

    Check whether the problem is resolved.

  • Urgent! InDesign CC, problems of placement of the image with Mac and Windows

    Hello

    When I tried to place an image or move pages in another file, indesign gives the following error.

    "The file does not exist, you may not, or the file is perhaps currently in use"

    I tried renaming the file, copy the file or re-edit the images... Nothing has worked... I am convinced that this is a problem with the mac and windows integration...

    How can I transfer files without problem from the Mac to the PC or vice versa.

    already solved...
    Mac OS permission issues.
    Adobe customer service solved the problem

    For more explanations and for your understanding...

    1. I create a template for my colleagues to work under Windows. Give them the files with a flash drive.

    2 employees were working on Mac...
    3. I took the model in a flash drive and tried to place some pictures...

    4 indesign gives me an error saying "the file does not exist, you may not, or the file may be in use by another application."
    5. I tried to recreate a link to images in document thinking "Okay maybe." it's a problem of link

    6 indesign gives me an error saying "the file does not exist, you may not, or the file may be in use by another application."

    7. I have tried to move the pages in the document to another, think "might be that I can work around this problem.
    8 indesign gives me an error saying "the file does not exist, you may not, or the file may be in use by another application."

    9. I tried to place another image to another folder

    10 indesign gives me an error saying "the file does not exist, you may not, or the file may be in use by another application."

    11. I tried to rename the file and after that the evolution of the file

    12 indesign gives me an error saying "the file does not exist, you may not, or the file may be in use by another application."

    I guess that this time there is no confussion in your mind...

    to cut the story short, it's a problem generated by authorization on Mac problems. It is resolved by defining the whole Adobe preferences folder and its contents to be read/write, not just read-only.
    In Mac OS: [Drive] /Users/ [username] / Library/Preferences/Adobe
    In Windows [drive] \Users\ [username] \AppData\Roaming\Adobe

    also after you change these files for read/write, you must copy the files you worked on once again.

    Thanks for your attention...

  • IE7 "could not open the file: * path *.» The file exists may not

    I created a package of IE7 a while back which works great.  Apart from this little problem.  It generates an error when the user tries to open a .msg to the WebApp.  It will try to open Outlook and display the following error message.  «Could not open the file: * path *.»  The file exists may not, you don't have permission to open it, or it may be open in another program.  Right click on the folder that contains the file, and then click action to check your permissions for the folder. »

    All the other files attached to work.  PDF, html, txt, rtf, etc.  I tried to move temporary Internet files to a different location with the same result.

    Someone at - it ideas?

    Thank you!

    He was captured on Windows Server 2003 x 64 running on W7 x 64

    Also note that when users choose to save him, it opens fine.  This isn't an "acceptable workaround solution.

    Looks a lot like this one: http://blogs.vmware.com/thinapp/2011/01/locally-installed-applications-and-integration-with-virtualized-internet-explorer.html

  • By getting only the base filename, not full path to the file upload form

    I can't get the full path of the file in the html code that I need for my script php to a video file of ftp.  I shows the method of recovery of the info file in php first.  My ftp_nb_fput fails because it cannot find the file because it assumes that it is on the server, not the local machine.  I use this so I can see the progress of the transfer without too much code:

    ANY HELP WOULD BE GREATLY APPRECIATED!

    <? PHP

    $source_file = isset($_POST['filen'])? ($_POST ['filen']):($_SESSION['filen']);

    '

    '

    $fp = fopen ($fichier_source, "r");

    $ret = ftp_nb_fput ($id_conn, $destination_file, $fp, FTP_BINARY);
    While ($ret is FTP_MOREDATA)
    {
    $uploaded = 100 * ftell ($fh) / $file_size;
    Print "$uploaded % full \n";
    Continue downloading...
    $ret = ftp_nb_continue ($conn_id);
    }
    If ($ret! = FTP_FINISHED)
    {include 'upload_video_failed.htm';
    output (1) ;}
    else {include 'upload_video_db.php' ;}
    fclose ($FP);

    '

    '

    ? >

    "< FORM METHOD ="POST"ENCTYPE =" multipart/form-data"ACTION="./upload_video.php ">

    < TABLE >
    < b >
    < TD > video < span class = "style1" > * </span > < table >
    < TD > < INPUT NAME = "filen" id = "filen" TYPE = 'file' size = '30' class = "fields" > < table >
    < /TR >
    < b >
    < TD > title < span class = "style1" > * </span > < table >
    < TD > < INPUT NAME = "title" id = "title" TYPE = "text" size = "43" class = "fields" > < table >
    < /TR >
    < b >
    < TD > class < span class = "style1" > * </span > < table >
    < TD > < select name = "category" id = 'category' class = "h1" >
    < option > select the category that best describes your video < / option >
    < option > documentary < / option >
    < option > Educational < / option >
    Interesting facts < option > < / option >
    < / select >
    < Table >
    < /TR >
    < TR VALIGN = "top" >
    Description < TD > < table >
    < TD > < TEXTAREA NAME = "description" id = cols "description" = "32' RANKS '2' WRAP = class ="h1"> < / TEXTAREA > < table >
    < /TR >
    < b >
    Term < TD > < span class = "style1" > < / span > < table >
    < TD > < select name = "duration" id = "term" class = "h1" >
    < option > 1 day < / option >
    < option > 1 week < / option >
    < option > 1 month < / option >
    < option > 3 months < / option >
    < option > 6 months < / option >
    < option > 1 year < / option >
    < option > until this that deleted < / option > < / select >
    < Table >
    < /TR >
    < b >
    < TD > tags < span class = "style1" > < / span > < table >
    < TD > < INPUT NAME = "tags" id = "tags" TYPE = "text" size = "43" class = "fields" > < table >
    < /TR >
    < b >
    < TD > < table >
    < TD > < name INPUT = 'Submit' TYPE = "Submit" VALUE = "Upload" > < table >
    < /TR >
    < /table >
    < / MAKE >

    marcusinfla wrote:

    ONLY PROBLEM, IT IS THAT I CAN'T DOWNLOAD THE VIDEOS MORE THAN 4 MB.  I've included the attribute MAXLENGTH = 100000000 (100 MB) and it does not help.

    ANY IDEAS?

    A good idea is to read the PHP manual. As explained in the next page, the maximum size of the downloads is controlled by the PHP configuration directives: http://docs.php.net/manual/en/features.file-upload.common-pitfalls.php. Normally, the maximum size of an individual file is 2 MB, and the maximum total value is 8 MB. If you are on shared hosting, I doubt that if the hosting company will be willing to change the configuration directives to allow 100 MB mail, but you can always ask.

  • Path to the file standard.js

    I'm fairly new to Captivate and generated three tutorials that I add to a RoboHelp project. Everything was good with the tutorials that everything went to the Captivate but only connected inside RoboHelp. I discovered that the problem was not with RoboHelp but the path to the file standard.js in the HTM file generated in the Captivate published output. Once I changed the path to the file, everything was OK.

    My question is, what Captivate uses to produce the path to the file standard.js. All my Captivate projects were still in separate folders at the same level, the path to the javascript file varied considerably. I know what to look for in the future, but I'm just curious

    Heya Colum

    The Standard.js simply needs to exist in the same folder as your other Captivate content. You may want to just place all your Dove inside a single file in RoboHelp and things can work. Also, be careful about the use of spaces in filenames Captivate, RoboHelp likes to add underscores and which can wreak havoc with your Captivate trying to play in RoboHelp.

    See you soon... Rick

  • I'm doing a script that takes a list of e-mail from a text file and then allow me to select a save as a string. I found some ways to get the path of the file, but I'm in check by pulling the list

    I found some ways to get the path of the file, but I am defeated by pulling the list from that. the function of the path get gives me the path as "Macintosh Users:: Documents: extractedb.txt (myUsername).

    What I can't understand is how to get a dialog box to display a list that represents the content in the text file, I need to change the contents of the text file, I need the box to show me what I chose and I want to save my selection as a single string.
    e '.

    example of extractedb.txt information:

    [email protected]

    [email protected]

    [email protected]

    * has a random number of emails as well *.

    I want this is to pull those emails from the text file and turn them into a list so I can get to be a selection in my dialog box.

    Any help would be great = D

    Assuming you have a text file with your example e-mail addresses, the following AppleScript will read this file in a list (mf_List) and then use this list as input to choose among the list. Because multiple selection is allowed (control button), the output is sent to a list (sel_addr). We check if the Cancel button was pressed by testing for false and if this condition is met, we the script error.  Based on a single or multiple list item content of the list, display accordingly.

    game of mf to ((path to the folder as text) & "mail_list.txt")

    the value mf_List to {}

    the value sel_addr to {}

    the value mf_List to paragraphs of (read file mf)

    the value sel_addr to (choose from the list mf_List with title ¬

    ('Mail list' with multiple selections allowed without empty selection allowed)

    If sel_addr is equal to false then

    Error number-128

    return

    end if

    If length of sel_addr is equal to 1 then

    sel_addr display dialog box as text

    on the other

    the value Point to the text of TID to AppleScript delimiters

    the value Point text in AppleScript return delimiters

    display the dialog box elements of sel_addr in the text

    the value Text of point AppleScript delimiters to TID

    end if

    return

  • path of the file to open data storage

    Hi all!

    Now I am using open data storage blocks, write data and data storage to store and retrieve data from result nearby. For the issue of file path, before I

    Set the path of data by double clicking on the block 'open data storage' and inserting the location of the file in the indicated place, and it worked!

    Now since I made a stand-alone application of this program and use it on other computers, the location of the file that I inserted in the block of open data storage is not

    no more valid in the other PC. So I modified my source code by connecting a 'journey of the current vi' to the node of the file path of the open instead of data storage block

    insert inside the block and this does not work! During the race he displays an error in the data writing block saying that the refnum of storage is not valid!

    I wonder why I couldn't specify the path of the file like this. Kind to allow me to specify the path of the file in the path of the vi?

    Thank you!

    Chao

    You need to account for that path changes when integre integrated application, take a look at this example.

    https://decibel.NI.com/content/docs/doc-4212

  • When I download a document or image on the WEB, see other my path of the file?

    Privacy when downloading from a web site

    When I download a document or image on the WEB, see other my path of the file? To help you remember specific things about a company or a person, I have nicnames for their files well, it woud be embarrassing if they were able to see those names somehow. Not that they are offensive... just ridiculous ;)

    Number of files - particularly documents created by word processing programs and images created by digital cameras - contain "metadata", which may include personal or location information that'd rather you keep private.  It's completely outside any file name you have given to the file.

    There are different methods and tools available to "scrub" the files before sharing.  For example, only Word 2010 has a built-in "document inspector" that allows you to watch and remove metadata.  See also http://lawyerist.com/how-to-quickly-and-easily-remove-meta-data/ you can use your favorite search engine to find more ways to remove document metadata.

    Regarding the images, the files created by digital cameras usually have "EXIF" metadata included, which not only contains information such as the date parameters, time and camera, but may also include GPS information if the camera has this feature (for example, a camera in a smart phone).  See, for example, the results of this Google search: http://lmgtfy.com/?q=remove+jpeg+metadata

    Some - but not all - file sharing web sites automatically scrub metadata.  It is safer to do it yourself before you download files.

    And just to be pedantic, 'lung' sounds as if your system memory involves a lot of hot air.  The word you're looking for is "mnemonic".

  • I just want to know if there is a problem if I delete the files '%Temp%' race

    Hey guys, I just want to know if there is a problem if I delete the files '%Temp%' run! ???

    Free disk space
    Last updated 18/01/2014
     

    Content

    • To see how much space you have used and free
    • To see where the files are too much space
    • Disk Cleanup
    • System restore
    • Fix the basket
    • Fix temporary Internet files
    • Delete files in the system and the folder Temp of Service Profiles
    • Check the size of the swap file
    • Disable the hibernation
    • Compact the Windows databases use various
    • Delete the files updated by the Service Pack
    • Move your Documents
    • Remove saved files created by Photo Gallery
    • Which extends the size of the disk
    • Compress files
    • Turn off the low disk space warnings
    • Boost disk cleanup
     

    To see how much space you have used and free

    Start - All Programs - Accessories- Click with the right button on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).

    For the system drive

    WMIC volume where (DriveLetter = '% lecteur_systeme %') are legend, capacity, freespace List

    For all readers

    WMIC volume get/all, freespace, the ability, the legend

    If you want to store this info on your desktop

    WMIC /append:"%userprofile%\desktop\Free on disk space" volume get Caption, freespace format:htable

    To open double click on Free Disk Space on your desk or type

    Start "" "%userprofile%\desktop\Free report.HTML of disk space.

    Then come back here after cleaning and repeat these commands to see the difference.

    If for any reason, the wmic command does not work, use these two commands. Both take a lot of time.

    % Lecteur_systeme % - one defrag

    or

    dir %systemdrive%\*.*/a/s

     
    To see where the files are too much space
     
    It lists the number of files and the size of the folders on your drive. Each command is a subset, so you can run it better.
     

    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
     
     
    Then configure the command prompt. Right-click on the tab of the titlebar - Properties - Layout command prompt - and enter 1000 screen buffer size height and 43 (or 50) to Window Dimensions height. Change the color (color tab) and the police (police tab), if you want.
     
    To see the size of the folders in Documents, excluding images, video, or music files.
     
    for /f "Skip = 2 tokens = 3 ' set doc = A %%A in ('Reg query"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"/v"Personal"")
     
    for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "\/"^|findstr/l/v "photos video" ') @echo %j & echo. "
     
    To see the size of the folders in the music.
     
    for /f "Skip = 2 tokens = 4" %A in ('Reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v 'My music' ") set Doc = A %
     
    for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."

     
    To see the size of the image files.
     
    for /f "Skip = 2 tokens = 4" %A in (' Reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" "My pictures" /v ") set Doc = A %
     
    for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."
     
    To see the size of the files in the video.
     
    for /f "Skip = 2 tokens = 4" %A in ('Reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v 'My videos' ") set Doc = A %
     
    for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."
     
    To see the size of the files on the desktop.
     
    for /f "Skip = 2 tokens = 3 ' set doc = A %%A in ('Reg query"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"/v"Desktop"")
     
    for /f "usebackq tokens = 2 * delims =" %i IN ("dir"% doc"/ a/s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."

    To see the size of the files in the Windows folder.
     
    for /f "usebackq tokens = 2 * delims =" %i IN ("'%windir%' dir /a /s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."
     

    To see the size of the files in the Program Files folder.
     
    for /f "usebackq tokens = 2 * delims =" %i IN ("'%ProgramFiles%' dir /a /s ^ |") "." findstr/i/v "-/"') @echo %j & echo. "."
     
     

    Disk Cleanup
    To run Disk Cleanup, normal is to click with the right button on the drive in my computer (Start menu - computer), then Properties - general tab - Disk Cleanup button.
     
     
    Another way is menu Start - All Programs - Accessories - System - Disk Cleanup tools.
     
    Disk Cleanup can be started from the command line.
     

    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).

     
    To make your primary drive.
     
    cleanmgr letter
     
    Choose which lead to do.
     
    Cleanmgr
     
    See the last section of this post to see how to performance of disk cleanup.

     System restore

    With disk cleanup displays above the Other Options tab. You can delete all but the last System Restore point and see if that is too much space.

    System Restore uses 15% of the space normally. Change click Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type Regedit and navigate to

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore\cfg

    Double click on DiskPercent and click on decimal and change the value to the desired percentage,

    You can change the command prompt.

    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).

    To see the size of the system restore folder.

    You don't normally have access to this folder. You will need to take possession, allow administrators to permission, then the size of the query.

    takeown /f "%systemdrive%\System Volume Information" / a r d y
    ICACLS "%systemdrive%\System Volume Information" / grant administrators: f, t, c, q
    dir "%systemdrive%\System Volume Information" / a/s

    To see the current percentage

    Reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore\cfg" /v DiskPercent

    It is in hexadecimal. The numbers are 0-9 and a-f. So 0xf is 15. 0x5 is 5, 0 x 9 is 9, 0xa is 10, 0 x 14 is 20.

    To set a different value.

    You can use decimal values to set. This affects 10% (in bold in the example and the last item in the line).

    Tracking Add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore\cfg" /v DiskPercent /t REG_DWORD /f /d 10
     
    To repair the system restore, file delete and restart the system restore.
      
    SC stop vss
    takeown /f "%systemdrive%\System Volume Information" / a r d y
    ICACLS "%systemdrive%\System Volume Information" / grant administrators: f, t, c, q
    e "%systemdrive%\System Volume Information" / q/s
    SC start vss

    Fix the basket

    Sometimes, files get lost in the trash. Remove the storage folders. It will be automatically re-created next time you delete a file or open the Recycle Bin. It will remove the trash and the files it contains for all users.

    Empty the trash.

    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).

    To see the size of the files in the Recycle Bin

    It must have one or no files inside if you work. There should be a directory (folder) by user.

    dir % systemdrive%\$RECYCLE. BIN\ *. * /a /s

    To reset the trash

    e % systemdrive%\$RECYCLE. BIN/s/q

    Fix temporary Internet files

    Sometimes, files get lost in the temporary internet files folder. Delete the files. It will be automatically recreated the next time download you. It will remove the current user only.

    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).

    To see the temporary internet files size empty files folder

    RunDll32.exe InetCpl.cpl, ClearMyTracksByProcess 8

    dir ' %userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\ *.» * ' / a/s.

    Then delete.

    First close Internet Explorer. Some files may not remove at the moment, they can be deleted later.

    "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files" del /s /q

    So to see the new size.

    dir ' %userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\ *.» * ' / a/s.

     
    To see the size of the cache, type the following
     

    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).

     
    Reg query /v "Settings\5.0\Cache\Content Software" CacheLimit valid
    Use the calculator to convert hexadecimal into decimal. Start the Calculator (Start - All Programs - Accessories - calculator) and choose the menu display - scientific, then the menu display - Hex. Enter the value returned above. Menu display - decimal. To convert windows units divide by 1024 for kilobytes, divide by 1024 megabytes.
     
    Located between 50 MB and 250 MB. You can use decimal here. The unit is expressed in kilobytes. Here it is 250 megabytes (250 000 x 1024 bytes)
     
    Add tracking 'Software Settings\5.0\Cache\Content' v CacheLimit valid /t Reg_DWord /d 250000 f
      

    Delete files in the system and the folder Temp of Service Profiles

    The system temp folder is only used when no one connects. It is rarely used but never cleaned. Some services have their own temporary folder which is also cleaned.

    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).

    To the list

    dir c:\windows\temp C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp/a/s

    To remove

    del C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\*.* C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp\*.* c:\windows\temp\*.*/s/f/q

    Check the size of the swap file

    As a rule generally you want to your swap file slightly larger than the amount of memory that you have. It develops automatically but spread automatically. If you use hungery memory programs as this video editing should be bigger. If too big you can reduce and rush of space can be moved to another drive.

    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).

    To see what was your use

    WMIC pagefile get List

    To see the size of the file on disk

    dir /a c:\pagefile.sys

    To change the size or change the road see change the size of virtual memory in Start - Help and Support.

     

    Disable the hibernation

    The file shows up is the same size of installed memory. If this is not the case, turn off the computer in hibernation and save a lot of disk space.

    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).

    To see if it is on

    If the file will be found. If off the file won't be there.

    dir %systemdrive%\hiberfil.sys /a

    To turn off

    powercfg-h off

    Make a u-turn

    powercfg-h on

    Compact the Windows databases use various

    You can compact the various databases that Windows uses. This is the Windows Update, Windows Search, and certificates of security, Windows Mail, Windows Contacts, Windows, Windows Live and Internet Explorer ver 10 applications calendar.

    Close Windows Mail and Internet Explorer. Wait a minute for Internet Explorer release locks of sound files.

    See how much space taking up type which is below and note the total size (because it scrolls away).

    Start - All Programs - Accessories- Click with the right button on command prompt and choose Run As Administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).

    dir c:\*.edb c:\*.msmessagestore c:\WebCacheV*.dat c:\catdb/a/s

    Then at compact

    SC stop wuauserv
    stop bits SC
    SC stop wsearch
    SC stop cryptsvc
    for c:\ /r %A in (*.edb *.msmessagestore WebCacheV*.dat catdb *.) do esentutl.exe /p "%A" / o
    for c:\ /r %A in (*.edb *.msmessagestore WebCacheV*.dat catdb *.) do esentutl.exe /d "%A".
    SC start cryptsvc

    SC start wsearch

    SC start bits
    SC start wuauserv

    Then to delete some temporary files.

    del c:\*.integ.raw c:\TEMPDFRG*.edb/s

    To see the new size and compare it to the old size

    dir c:\*.edb c:\*.msmessagestore c:\WebCacheV*.dat c:\catdb/a/s

    If a program has a file open, you can use this procedure to find out which program.

    openfiles/local on

    Reset

    openfiles/query /v | findstr /i "WebCacheV [0-9] *------catdb \.edb \.msmessagestore .dat".

    Delete the files updated by the Service Pack

    See how much space taking up type which is below and note the total size (because it scrolls away). Also, note that the total is higher than it actually is.

    This will remove the ability to uninstall service packs.

    According to the service pack that Windows was provided with you can have both, one or none of these two files.

    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).

    dir /a /s c:\Windows\WinSxS

    Then type

    Vsp1cln.exe
    COMPCLN.exe

    To see the new size and compare it to the old size

     
    c:\windows\WinSxS dir /a /s

    Move your Documents

    If you have another disk, you can move the documents folder to it.

    Click with the right button on your Documents (or pictures, etc.) Office, videos, Contacts,) the tab file - Properties - location - move.

     

    Delete the thumbnail and icon Caches

    These files can contain thumbnails or icons of files deleted a long time ago. The files will be recreated if necessary.

    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste). The desktop and the start menu will disappear briefly.

    To see the size

    dir "% userprofile%\AppData\Local\*.db" "% userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.db" /a

    then remove

    Taskkill /im explorer.exe/f
    attrib - r s h '% userprofile%\AppData\Local\*.db '.


    attrib - r s h '% userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.db '.
    del "% userprofile%\AppData\Local\*.db".
    del "% userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.db".
    Explorer

    to check the new size

    dir "% userprofile%\AppData\Local\*.db" "% userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.db" /a

     

    Remove saved files created by Photo Gallery

     

    Photo Gallery Windows makes a copy of any file that you are editing. Click Start - All Programs - Accessories - (or press the Windows key + R). Type

    Images of the hull: original

    Delete the ones you don't want.

    Which extends the size of the disk

    If all the space on the disk has not all been used it is possible to extend your drive.

    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).

    DiskPart

    then type

    Select the c volume:

    Then type to see in size

    the list volume

    then (it will work if possible or not as appropriate)

    extend

    type to display the new size

    the list volume

    then type exit

    output

    If you want advice on the extension of the partition type the following and paste the result back

    DiskPart

    list disk

    the list volume

    Select disk 0

    partition from the list

    Select disk 1

    partition from the list

    output

    To copy the final text right click in the window - Mark , then select the text and press enter.
     

    Compress files

    There are two ways to compress files in windows. Zip files and built-in file compression. It's built-in file compression. For more information on compression type zip in Start - Help and Support .

    Photos, music and video are already compressed. They can get larger if Windows tries to compress it any further. Also usually a bad idea to compress system files.

    If you have files of worksheet they can very well be compressed. If you have files, installation files, they can also be good candidates. Web pages are also good candidates.

    In Windows Explorer, blue file names means Tablet (it is the file system compression not aka zip files compressed files). Green filename means Encrypted.

    To disable file names colored, in Explorer - Tools menu (Alt + T)- display tab and then clear the check box for Show encrypted or compressed NTFS in color .

    Windows compression, encryption and security to work for the most part by applying attributes to a folder and the files in the folder inherit the folder.

    If you have all the files appropriate for compression, find them in solution, made Explorer right click - Properties - general -Advanced button tab - Compress contents to save disk space. Choose to apply to all files and folders when asked.

    To use a command line to compress the files in the Favorites folder.

    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).

    compact/c /s:"%userprofile%\Favorites." *

    Put in Favorites to compress files added

    compact/c /s:"%userprofile%\Favorites.

    To view the details of the compression of the Favorites folder

    Compact '% userprofile%\Favorites\*.* '.

     

     

    Turn off the low disk space warnings

    To disable the function to display the disk low space warnings.

    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).

    Tracking Add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" v "NoLowDiskSpaceChecks" /t REG_DWORD /d 1 f

    gpupdate/force

     

    Boost disk cleanup

    • Operation of disk cleanup
    • Schedule disk cleanup
    • Creating custom cleaners

    To see a list of products of cleaning disk cleanup.

    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).

    @echo. & @echo list of cleaners&@echo = & FOR /F "usebackq tokens = 8 delims =-' %i IN ('reg query 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches'") @echo %i

    
     List of cleaners
     ================
     Active Setup Temp Folders
     Content Indexer Cleaner
     Downloaded Program Files
     Hibernation File
     Internet Cache Files
     Memory Dump Files
     Microsoft_Event_Reporting_2.0_Temp_Files
     Offline Pages Files
     Old ChkDsk Files
     Previous Installations
     Recycle Bin
     Setup Log Files
     System error memory dump files
     System error minidump files
     Temporary Files
     Temporary Setup Files
     Temporary Sync Files
     Thumbnail Cache
     Upgrade Discarded Files
     Windows Error Reporting Archive Files
     Windows Error Reporting Queue Files
     Windows Error Reporting System Archive Files
     Windows Error Reporting System Queue Files
     WLX Thumbnail Cache
    
     

  • Windows cannot access the specified device, the path of the file. You don't have the appropriate permissions to access the item

    Original title:
    I am signed in as an administrator, but cannot install software that I uninstalled it before. The following message has prompted
    "Windows cannot access the specified device, the path of the file. You can not have the appropriate permissions to access the item.
    Can someone help me with this? Thank you.

    Hi Arya S Asok,.
    It seems that the anti-virus program has blocked the process. I have temporary disable the anti-virus and installing simply not work its way! Thank you for your help.

    :-)

Maybe you are looking for