Applescript "save as" to a specified path

First let me say that I have looked everywhere and just can't figure out if I can find the answer so i thought I would ask here.
I had created an applescript (a long, way of doing it) that worked until my Adobe Acrobat Pro got upgraded from 9 to X.  But now at the same time, I am trying to figure out if there is an easier process than what I have been dealing with.
the backstory:
I manage a internal creative department for a company and we get requests from around the company for projects.  I have developed a PDF with forms that they fill it out.  When it gets emailed back to me, I have tried to figure out a system to get it from PDF into Filemaker Pro 9.
here's what I want to do:
once I open the submitted request in acrobat, here are the steps that I would normallly do (have developed a script for it, see below each step)
(1) Save File As "report.pdf"  to a specified folder [Macintosh HD/Users/myname/documents/projects/pdf2fmp/exportpdf]
*****this is because occasionally the requester will change the PDFs name if they chose to save it on their computer, believe me it makes it easier; also I just resave over it each time because I only need this as a temporary solution******
tell application "Adobe Acrobat Pro"
    activate
end tell
tell application "System Events"
    tell process "Acrobat"
        click menu item "save as..." of menu "File" of menu bar 1
        keystroke "report"
        keystroke tab
        delay 1
        keystroke "g" using {command down, shift down}
        keystroke "/users/kellyf/documents/projects/pdf2fmp/ExportPDF"
        keystroke return
        keystroke "s" using command down
        delay 1
        keystroke "r" using command down
(2) Open Forms / Manage Form Data / Merge Data Files in Spreadsheet..."
******I need to do this step to be able to import into FMP 9*****
(3) from there I go an select the report.pdf file from the exportpdf folder that I just saved it in
******This is why I keep it the same when I save it so it can be scripted to pull it*****
(4) then I save the exported data to be a report.csv file but in a different folder path [Macintosh HD/Users/myname/documents/projects/pdf2fmp/importCSV]
******I resave over the latest report.csv file for the same reason
(5) from there I close the dialogue box
tell application "System Events"
            tell process "Acrobat"
                click menu item "Merge Data Files into Spreadsheet..." of menu 1 of menu item "Manage Form Data" of menu "Forms" of menu bar 1
                keystroke return
                delay 1
keystroke "g" using {command down, shift down}
                keystroke "/users/kellyf/documents/projects/pdf2fmp/exportpdf"
                keystroke return
                delay 1
                keystroke (ASCII character 31) -- Down   
                delay 1
                keystroke return
                delay 1
                keystroke tab
                delay 1
                keystroke return
                delay 1
                keystroke "g" using {command down, shift down}
                keystroke "/users/kellyf/documents/projects/pdf2fmp/ImportCSV"
                keystroke return
                delay 1
                keystroke (ASCII character 31) -- Down   
                delay 1
                keystroke return
                delay 1
                keystroke tab
                delay 1
                keystroke return
                keystroke "s" using command down
                delay 1
                keystroke "r" using command down
                delay 1
                click button "Close Dialog" of window "Export Progress"
            end tell
        end tell
    end tell
end tell
The rest of it for import into FMP works fine, it's just these previous Acrobat steps that are difficult. And I think I have made too difficutl.
tell application "Adobe Acrobat Pro"
    close document "report.pdf"
end tell
delay 1
tell application "Finder"
    activate
    open file "Creative Job List.fp7" of folder "Filemaker Pro Databases" of folder "Documents" of folder "Kellyf" of folder "users" of folder "macintosh hd"
end tell
tell application "FileMaker Pro"
    activate
    do script "PDF2FMP Import"
end tell
Again, this only works with Acrobat Pro 9.  But it does the job. 
Additional question:
If the scripting is too much to change, is there a way when I run the script out of X that I can be sure it opens 9 and just runs it?

I need it 1 level up no matter where - since there will be different folders.
Thanks!

Similar Messages

  • Download or save Text file in specified path from WEB UI

    Hi Experts
    I am handling a requirment where user borwses the path and set on WEB UI and press on the Button to dowload the content with text file format in specified path(local PC).
    I tried to use CL_CRM_FRONTEND_SERVICES=>GUI_DOWNLOAD method to download  , but it is throwing an exception of "flush" . I come to know that This method ment for only SAP GUI not for WEB UI.
    I have tried to use the class "CL_BSP_UTILITY", but it didn't work well.
    Can you please help me to achieve this. Help is most appreciable.
    Thanks in Advance.
    Chand

    Hello,
    A simple search on SDN should have given you following links:
    Replacing WS_DOWNLOAD with CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
    Hope this helps,
    Kind regards,
    Joost Stallaert

  • X79A-GD65 (8D) MSIHQ error 654 Specified path name or file name is invalid.

    Hello,
    First, excuse my poor english...
    I would like to flash the 7760 v1.8 bios of my motherboard to install windows 8.1 on a crucial M500 480Go (yet, installing W8.1 after connect M500 on SATA1 6Go next to my M4 SSD with W7, causes errors during installation and I guess it is because i think the SSD is not correctly recognized by the bios and Windows 8.1 requires bios and ME updates.)
    I download the last bios on MSI site (http://us.msi.com/product/mb/X79AGD65_8D.html#/?div=BIOS) and install MSIHQ Tool 1.25g software to make an USB stick for flashing as describe here : https://forum-en.msi.com/index.php?topic=116721.0
    But when i point on the archive (3.1. Method 1: Processing a BIOS Archive Directly (ZIP/RAR)), MSIHQ can not open the archive and tell me: ERROR 654 Specified path name or file name is invalid.
    Yet when I use the same method to flash my bios from 1.6 to 1.8, it had gone well ... What to do?  Should I use the method described on the download page: http://fr.msi.com/files/pdf/Bios_update_SOPAll.pdf ?
    Thank you and good day.

    No, no...  I know what a dual boot if it is what you say, I did it for years. I also made two differents drives with two separate systems boot : a Hdd with xp and boot.ini , and another with windows 7 and mbr. After installing the first OS first on a disc, you disconnect this HDD and connecting the second to receive the second OS. There is no dual boot because I did not boot on the same partition then let me choose between 2 OS placed on two differents drives or two partitions, but I boot well on two differents disks , each with their own boot files this just saves me the dual boot which I find too heavy. On a Gigabyte X48T -DQ6 with the F12 key , you choose what HDD boot . Same I think with the F11 key X79A - gd65 : "Press DEL key to enter Setup Menu , F11 to enter Boot Menu" and then you choose between booting on either disc. In the case cited above , it is then that we arrive on the mbr of windows 7 on a disc or boot.ini windows xp on the other. So you do not answer my question, it seems to me :-) I wonder if I'm clear, there ...;-)
    thanks very much...

  • ITunes installation error - no C-drive, invalid C-drive, or specified path too long

    This is an answer rather than a question as answer to a previous question seemed unresolved and I had similar problem which I have resolved. I thought posting it might help others...
    My OS System disk wasn't set as the C-drive (how or why I'm not sure, but I have several OS installations and 2 hard-drives and must be a result of the way I installed these). And so I had no C-drive at all (except when I plugged in USB Pen's they would appear as C-drive).
    iTunes wouldn't let me install unless I had a C-drive - probably said I had an invalid C-drive or something. So I tried creating a virtual C-drive by mapping the C: drive letter to a new empty folder on my system disk (G-drive) to "C:". See - http://ask-leo.com/i_have_no_c_drive_but_some_programs_insist_on_it_what_can_i_d o.html
    This DIDN'T resolve the problem as it merely created a different error message - it said: "The specified path is too long C:\Program Files" NB This is despite me telling it to install iTunes to the G-drive.
    Solution: I removed the virtual C-drive (ie. mapping of "C:"  to the new folder) and instead in My Computer -> Manage -> Storage -> Disk Management, I assigned the C: drive letter to a drive partition I use for storing media (I plan to name it back else several programms will fail to store media correctly). I also moved the iTunes.exe installation file to that C: partition in case that helped. Installation (still told to be the G-drive) was now successful.
    What I noticed is iTunes created the following path - C:\Program Files\JavaSoft\JRE\1.3.0_02\lib\ext - and dumped this file there: QTJava.zip Looks suspiciously like an install file for the bundled (and required) updated Quick Time, which it obviously requires to be dumped on a C-drive. Once installed I doubt that file will still be needed, so I'll delete it after I restart (it won't let me at the mo).
    If you don't have extra partitions that you can assign C-drive to, then you could either try Adding (rather than changing) the C: drive letter to your current System disk. IN FACT I'M THINKING THAT'D BE THE BEST THING TO DO ANYWAY as then all programmes will use the correct system disk regardless of whether they think they should be using G: or C: (though I've not tried it, so can't be sure this works). Alternatively I reckon you could connect a USB stick and assign C-drive to that (if it isn't in fact automatically assigned it). Allow it to dump the QTJava.zip file on to it and once installed, you can remove the USB Stick - NB I'd suggest using the Safe Removal. (Well, might be worth restarting first in case it is referencing anything on it that isn't finished until restart.)
    Hope this helps someone as was driving me potty coz I couldn't update my iTunes and thus couldn't sync my iPhone!

    Hi AltafB,
    For your situation, you can short the path for the source code. Or use a short path for build agent folder in your build definition. You can refer to the links below to solve your problem:
    http://blogs.msdn.com/b/aaronhallberg/archive/2007/06/20/team-build-and-260-character-paths.aspx
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/1638a5f0-9321-4ff9-9ee7-6d347badb972/please-some-solution-to-the-specified-path-file-name-or-both-are-too-long?forum=tfsbuild
    Besides, since you deploy Orchard to Azure, you can also publish it directly using publish profile in Visual Stduio or WebMatrix directly.
    Best regards,
    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.

  • Database does not exist in the specified path

    Just bought a USB 6009 DAQ and for some reason I now keep getting this error: "Database does not exist in the specified path" in VI Logger 2.0.1 it was working.  Can anyone help??

    Jared,
    It sounds like VI Logger somehow lost its association with its
    database. Please open MAX and check out the "Historical
    Data"->"Citadel 5 Universe" entry. Under "My Computer" in the
    right-hand pane, you should have a database called "VI Logger Data". It
    must be spelled, spaced, and capitalized the exact same way. If you do
    not have this database (which I suspect you do not), right click on "My
    Computer" and select "Create/Attach Database..." The default database
    path (if you want to have access to your old data) is C:\Documents and
    Settings\All Users\Application Data\National Instruments\VI Logger,
    with the database name as "VI Logger Data". If you want to create a new
    database, then specify a new path.
    If "VI Logger Data" does appear, a possible fix is to detach and
    reattach it. Right click on "VI Logger Data," select
    "Detach/Delete...," and chose the "Detach" option. Finally, reattach
    the database as described above.
    Hope this helps,
    Ryan Verret
    Product Marketing Engineer
    Signal Generators
    National Instruments

  • Security.Cryptography - The specified path is invalid. while accessing the private key stored in LocalMachine store

    Hello,
    I have C# dll which is invoked through a C++ cgi executable which is deployed on apache 2.2. I am getting the following error when I am trying to access the private key of a certificate which is stored in the Localmachine store. It works fine while
    debugging in visual studio.
    It also works fine when I try to access the same certificate from the current user store through apache.
    I have tried running apache as "SYSTEM", even then I get the same error.
    I have followed the right process to import the certificate into the localmachine store through mmc. 
    Error Message:
    The specified path is invalid.
     caused by mscorlib
       at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
       at System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle)
       at System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair()
       at System.Security.Cryptography.RSACryptoServiceProvider..ctor(Int32 dwKeySize, CspParameters parameters, Boolean useDefaultKeySize)
       at System.Security.Cryptography.X509Certificates.X509Certificate2.get_PrivateKey()
       at SamlImplLib.SamlImpl.GetSamlResponse(String sInParamXml, String sInAttrXml)
    The above error is not really helpful as it doesnt tell me which path is invalid as I am not passing any path in my code. I am just accessing the certificate through the X509Certificate2 store
    Thanks in advance

    Hi,
    This is probably because the worker process identity does not have read permission to the machine key store.
    And I agree with you. "The specified path is invalid" is a typical misleading message.
    You may need to clarify the difference between "SYSTEM- User" and "Current-user "through apache. Good Luck!
    Best regards,
    Kristin
    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.

  • SharePoint 2010, Visual Studio 2010, Packaging a solution - The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    Hi,
    I have a solution that used to contain one SharePoint 2010 project. The project is named along the following lines:
    <Company>.<Product>.SharePoint - let's call it Project1 for future reference. It contains a number of features which have been named according
    to their purpose, some are reasonably long and the paths fairly deep. As far as I am concerned we are using sensible namespaces and these reflect our company policy of "doing things properly".
    I first encountered the following error message when packaging the aforementioned SharePoint project into a wsp:
    "The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."
    I went through a great deal of pain in trying to rename the project, shorten feature names and namespaces etc... until I got it working. I then went about gradually
    renaming everything until eventually I had what I started with, and it all worked. So I was none the wiser...not ideal, but I needed to get on and had tight delivery timelines.
    Recently we wanted to add another SharePoint project so that we could move some of our core functinality out into a separate SharePoint solution - e.g. custom workflow
    error logging. So we created another project in Visual Studio called:
    <Company>.<Product>.SharePoint.<Subsystem> - let's call it Project2 for future reference
    And this is when the error has come back and bitten me! The scenario is now as follows:
    1. project1 packages and deploys successfully with long feature names and deep paths.
    2. project2 does not package and has no features in it at all. The project2 name is 13 characters longer than project1
    I am convinced this is a bug with Visual Studio and/or the Package MSBuild target. Why? Let me explain my findings so far:
    1. By doing the following I can get project2 to package
    In Visual Studio 2010 show all files of project2, delete the obj, bin, pkg, pkgobj folders.
    Clean the solution
    Shut down Visual Studio 2010
    Open Visual Studio 2010
    Rebuild the solution
    Package the project2
    et voila the package is generated!
    This demonstrates that the package error message is in fact inaccurate and that it can create the package, it just needs a little help, since Visual Studio seems to
    no longer be hanging onto something.
    Clearly this is fine for a small time project, but try doing this in an environment where we use Continuous Integration, Unit Testing and automatic deployment of SharePoint
    solutions on a Build Server using automated builds.
    2. I have created another project3 which has a ludicrously long name, this packages fine and also has no features contained within it.
    3. I have looked at the length of the path under the pkg folder for project1 and it is large in comparison to the one that is generated for project2, that is when it
    does successfully package using the method outlined in 1. above. This is strange since project1 packages and project2 does not.
    4. If I attempt to add project2 to my command line build using MSBuild then it fails to package and when I then open up Visual Studio and attempt to package project2
    from the Visual Studio UI then it fails with the path too long error message, until I go through the steps outlined in 1. above to get it to package.
    5. DebugView shows nothing useful during the build and packaging of the project.
    6. The error seems to occur in
    CreateSharePointProjectService target called at line 365 of
    Microsoft.VisualStudio.SharePoint.targetsCurrently I am at a loss to work out why this is happening? My next task is to delete
    project2 completely and recreate it and introduce it into my Visual Studio solution.
    Microsoft, can you confirm whether this is a known issue and whether others have encountered this issue? Is it resolved in a hotfix?
    Anybody else, can you confirm whether you have come up with a solution to this issue? When I mean a solution I mean one that does not mean that I have to rename my namespaces,
    project etc... and is actually workable in a meaningful Visual Studio solution.

    Hi
    Yes, I thought I had fixed this my moving my solution from the usual documents  to
    c:\v2010\projectsOverflow\DetailedProjectTimeline
    This builds ok, but when I come to package I get the lovely error:
    Error 2 The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. C:\VS2010\ProjectsOverflow\DetailedProjectTimeline\VisualDetailedProjectTimelineWebPart\Features\Feature1\Feature1.feature VisualDetailedProjectTimeline
    Now, the error seems to be related to 
    Can anyone suggest what might be causing this. Probably some path in an XML file somewhere. Here is my prime suspect!
    <metaData>
    <type name="VisualDetailedProjectTimelineWebPart.VisualProjectTimelineWebPart.VisualProjectTimeline, $SharePoint.Project.AssemblyFullName$" />
    <importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage>
    </metaData>
    <data>
    <properties>
    <property name="Title" type="string">VisualProjectTimelineWebPart</property>
    <property name="Description" type="string">My Visual WebPart</property>
    </properties>
    </data>
    </webPart>
    </webParts>
    .... Unless I can solve this I will have to remove the project and recreate but with simple paths. Tho I will be none the wiser if I come across this again.
    Daniel

  • SCCM 2012 - Adding Operating System Installer (The specified path does not contain a valid operating system ..)

    I have encountered the dreaded "The specified path does not contain a valid operating system or you do not have permission to access it.  Specify a valid path" message that seems to be popular in many forums .... BUT, so far none of the "solutions"
    have fixed the problem (of I don't understand the fix)
    Configuration
    SCCM 2012 SP1 5.0.7804.1000
    WADK 8.100.26629.0  < Suggested Fix
    Server 2008 R2
    SCCM Administrator with UserID = SCCMAdmin 
    Steps / Fixes I have followed
    I have configured a administrative share
    \\caleb\sources$ to hold directories (such as Apps, Drivers, and OS) with the following NTFS Permissions
    EVERYONE has Read and Execute, List folder, Read permissions<o:p></o:p>
    SYSTEM has Full Control 
    <Suggested Fix
    SCCMManagers (our group that has all SCCMManagers) has Full Control<o:p></o:p>
    SCCMAdmin (the SCCM Admin account that we are using to import image) has Full Control<o:p></o:p>
    Local Administrators (the local machine administrator) has Full Control 
    <Suggested Fix
    <o:p></o:p>
    Another Fix is to explicitly grant all permissions to the SCCM Administrator
    <Suggested Fix
    >Administrative Users ...
    Properties of the SCCM Administrator (for us that is SCCMAdmin) has all the boxes checked<o:p></o:p>
    Another suggestion I was able to glean was to Specify the Network Access Account
    so I configured SCCMAdmin as the Network Access Account.
    Another potential fix is that the image ISO file that has been downloaded is corrupt.   So, I downloaded the Win 7 (and Win 8.1) ISO's from MSDN and did a Checksum check.
    I then mounted the ISO (on 2008R2 I use VirtualClone Drive) and copied the contents of the image to
    E:\Sources\OS\en_windows_7_professional_with_sp1_vl_build_x86_dvd_u_677896 for Windows 7 with SP1
    To double check,
    I computed the Hash on the Install.WIM located in the Sources directory and compared with
    the computed Has Tag for the Install.WIM on the ISO Image  ... and the Hash tag of the WIM's matched (extracted vs what is contained within the ISO)<o:p></o:p>
    I tried to load the images into SCCM 2012 using the "Operating System Installers" option
    UNC to installer
    \\caleb\sources$\OS\en_windows_7_professional_with_sp1_vl_build_x86_dvd_u_677896
    Then I receive the lovely message <o:p></o:p>
    "The specified path does not contain a valid operating system or you do not have permission to access it.  Specify a valid path"<o:p></o:p>
    <o:p> </o:p>
    From
    C:\Program Files (x86)\Microsoft Configuration
    Manager\AdminConsole\AdminUILog\SmsAdminUI.log<o:p></o:p>
    <o:p> </o:p>
    \r\nSystem.Management.ManagementException\r\nGeneric failure \r\n  
    at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus
    errorCode)
       at System.Management.ManagementObject.InvokeMethod(String
    methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
       at
    Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.ExecuteMethod(String
    methodClass, String methodName, Dictionary`2 methodParameters, Boolean
    traceParameters)\r\nManagementException details:
    instance of SMS_ExtendedStatus
     Description = "Failed to get the image property from the source WIM
    file due to error 80070002";
     ErrorCode = 2147942402;
     File ="e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\sspimagepackage.cpp";
     Line = 586;
     Operation = "ExecMethod";
     ParameterInfo = "SMS_OperatingSystemInstallPackage";
     ProviderName = "WinMgmt";
     StatusCode = 2147749889;
    \r\n<o:p></o:p>
    What am I missing ????  I assume something simple but, darn I'm stumped!!!

    Hi,
    Configuration Manager version
    Windows AIK or Windows ADK Version
    Windows PE versions for boot images customizable from the Configuration Manager console
    Supported Windows PE versions for boot images not customizable from the Configuration Manager console
    System Center 2012 Configuration Manager with no service pack
    Windows AIK for Windows 7
    Windows PE 3
    None
    System Center 2012 Configuration Manager with SP1
    Windows ADK for Windows 8
    Windows PE 4
    None
    System Center 2012 Configuration Manager with SP1 and cumulative update 2
    Windows ADK for Windows 8
    Windows PE 4
    Windows PE 3.11
    System Center 2012 Configuration Manager with SP1 and cumulative update 3
    Windows ADK for Windows 8
    Windows PE 4
    Windows PE 3.11 and Windows PE 5
    System Center 2012 R2 Configuration Manager
    Windows ADK for Windows 8.1
    Windows PE 5
    Windows PE 3.11
    Please try to install the Windows ADK for Windows 8.
    http://www.microsoft.com/en-us/download/details.aspx?id=30652
    For more information, please review the link below:
    http://technet.microsoft.com/en-us/library/gg682187.aspx
    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.

  • Ugh: Error [0x800700a1] The specified path is invalid.

    I'm having the following problem. 
    Our backups are failing with the following error:
    In the backup logs, I find:
    Error in backup of D:\ during write: Error [0x800700a1] The specified path is invalid.
    Error in backup of D:\Perforce\ during write: Error [0x800700a1] The specified path is invalid.
    Error in backup of D:\Perforce\Database\ during write: Error [0x800700a1] The specified path is invalid.
    Error in backup of D:\Perforce\Database\p4s.exe during write: Error [0x800700a1] The specified path is invalid.
    In the event viewer, I find:
    The backup operation that started at '?2010?-?05?-?24T21:51:56.331072200Z' has failed with following error code '2155347997' (The operation ended before completion.). Please review the event details for a solution, and then rerun
    the backup operation once the issue is resolved.
    And on the command line, wbadmin returns:
    Found (41) files.
    The backup operation stopped before completing.
    Summary of the backup operation:
    The backup operation stopped before completing.
    Detailed error: Element not found.
    The backup of the system state failed [5/24/2010 5:23 PM].
    Log of files successfully backed up:
    C:\Windows\Logs\WindowsServerBackup\Backup-24-05-2010_14-51-56.log
    Log of files for which backup failed:
    C:\Windows\Logs\WindowsServerBackup\Backup_Error-24-05-2010_14-51-56.log
    The operation ended before completion.
    Element not found.
    ERROR(-3): Backup failed!
    This is very frustrating. 
    The more I use Windows built-in backup the more fragile it seems to be. 
    The D drive is a local drive and the path is valid. 
    Running check disk finds no problems.  The drive is mostly empty. 
    I tried with and without the anti-virus software, same problem. 
     There are no other server errors to indicate a problem with the drive or the path. 
    I ran vssadmin list writers, and none of them returned any errors. 
     Why would the backup return an invalid path error, for a path that is valid? 
    Any help would be greatly appreciated.
    Thanks much,
    James.

    Hi Sriram,
    Thanks for getting back to me!
    I'll try to mail them to you before the end of the week.
    A quick question:
     if the backup failed to find and copy a single file or directory (for whatever reason), why does it abort the whole process? 
    The file in question was not critical, so having it missing from the backup would only have been a minor inconvenience. 
    Obviously, you want to log such an event very clearly, but it does not make sense to me for it to kill the whole process... 
    Will this be improved in future versions?  I have to admit, I've not seen much backup software stop because of such a trivial error, except maybe "copy" from the command prompt.
    I think the built-in Window Server 2008 R2 backup software is very promising, and overall, I like it better than the old NT Backup crud. 
    However, from my limited use, it still seems rough around the edges; too many glitches and problems, something you don't want to see from your backup software.
    Thanks much,
    James. 

  • Installation error for iTunes 7.5 on XP: Specified path is too long

    I just downloaded the most recent version of the installer, but every time I run it, I get this message midway through the "Copying new files" step:
    +The specified path is too long:+
    C:WINDOWSwinsxsx86Microsoft.VC80.CRT1fc8b
    3b9a1e18e3b8.0.50727.762_x-ww6b128700
    There's no denying that it's long, but I don't know what I'm supposed to do about that. I mean, I'm not the one who specified the path.
    Clicking Retry just returns the same error endlessly, and clicking Cancel causes the installer to roll back all its changes and close itself.
    What gives?

    What exact version of Windows XP Pro do you have?
    Is it the standard Professional edition, or is ir Professional x64 edition? Check by right-clicking on My Computer and choosing Properties.

  • TFS Build Error - Exception Message: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters

    I am trying to set-up CI of Orchard CMS and deploy it on Azure using TF service. I am stuck at following error for path being
    longer than 260 characters. However, when counted the total characters in path are 235. Please see the below error :
    Other Errors and Warnings
    1 error(s), 1 warning(s)
    Exception Message: TF400889: The following path contains more than the allowed 259 characters: drop/_PublishedWebsites/Orchard.Web_Package/Archive/Content/C_C/a/src/projects/Orchard/dev/DevAltaf/Orchard/src/Orchard.Web/obj/Debug/Package/PackageTmp/Modules/BrentApart.BannerManager/Scripts/controllers/bannerAssignmentController.js. Specify a shorter path. (type VssServiceException)
    Exception Stack Trace: at Microsoft.TeamFoundation.Build.Workflow.Activities.FileContainerDropProvider.EndCopyDirectory(IAsyncResult result)
    at Microsoft.TeamFoundation.Build.Workflow.Activities.CopyDirectory.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
    at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
    Inner Exception Details:
    Exception Message: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. (type PathTooLongException)
    Did anyone came across such issue while deploying Orchard on Azure with TF service? If yes, how did you sort this freaking error?
    Thanks,
    Altaf B.

    Hi AltafB,
    For your situation, you can short the path for the source code. Or use a short path for build agent folder in your build definition. You can refer to the links below to solve your problem:
    http://blogs.msdn.com/b/aaronhallberg/archive/2007/06/20/team-build-and-260-character-paths.aspx
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/1638a5f0-9321-4ff9-9ee7-6d347badb972/please-some-solution-to-the-specified-path-file-name-or-both-are-too-long?forum=tfsbuild
    Besides, since you deploy Orchard to Azure, you can also publish it directly using publish profile in Visual Stduio or WebMatrix directly.
    Best regards,
    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.

  • Specify Remote Folder - The specified path is not a remote shared folder

    I'm getting this error when I try to check a backup stored on a NAS.  When I attempt to recover from it, I pick "A backup stored on another location" then "Remote shared folder". 
    I put in the path: \\192.168.16.17\public\server\2014-01-24
    And what I get is the above error message: "The specified path is not a remote shared folder"
    The path clearly is a remote shared folder. If I paste it into explorer it opens fine, and I can copy/delete files from it.  What gives?

    That's correct; the folder I specified above contains the WindowsImageBackup folder.  I can access that folder fine in Explorer, but when I try to direct the backup to it it gives the error I mentioned: "The specified path is not a remote shared
    folder".
    Note that the error message you receive if you specify a folder which does not contain a WindowsImageBackup folder is "The specified remote shared folder does not contain a backup. Provide the path to a remote shared folder that contains backups."

  • Powershell Get-childItem: The specified path, file name, or both are too long.

    Hey Scriping Guys!
    I've been using a PowerShell script for a couple of years now to generate a monthly report showing the size of user folders on a number of departmental file servers.  It's working just fine on all file servers except one where the users have gotten carried away with creating sub-folders and using realy long descriptive file names.  The problem piece of script is this:
    $colItems = (Get-ChildItem \\192.168.10.5\marketing -recurse | Measure-Object -property length -sum)
    "marketing-serv\marketing: "+"{0:N2}" -f ($colItems.sum / 1GB) + " GB"
    The reply I get is:
    Get-ChildItem : The specified path, file name, or both are too long. The fully
    qualified file name must be less than 260 characters, and the directory name mu
    st be less than 248 characters.
    At G:\data\Server_space_Report\serverspace2.ps1:37 char:27
    + $colItems = (Get-ChildItem  <<<< \\192.168.10.5\marketing -recurse | Measure-Obje
    ct -property length -sum)
    Yes, the message is correct, however, when I connect to the server, right click the folder and chose properties it returns a size of 128 GB.  My questions are
    1. Why does clicking on folder properties not produce an error (what is it doing differently from my script)?
    2. How can I fix my script?
    Thanks,

    I am trying to clear up the older open posts on this forum. If this is still an unresolved issue for you please let me know. If you do not post back within one week I will assume it is resolved and will close this thread.
    Thank you
    Ed Wilson
    Microsoft Scripting Guy

  • Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

    Hi, Im trying to get the whole path in my server, so i tried that with this following code
    Get-ChildItem $sourceFolder  -Recurse | ?{$_.PsIsContainer} |Get-Acl
    But then, it showed me somtehing like this :
    Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
     I tried to find the solver everywhere and mostly they propose to change the path name, which is impossible, since I am working with my company server, and those folder have already there before i start to work here, then the other ask me to use robocopy,
    but all of the trick just dont work
    is there any way to solve this problem? thanks

    There is no simple solution to this. And it is not a limitation of powershell itself, but of the underlying NTFS file system.
    If the problem is that a folder with a name longer than 248 exists anywhere within your directory structure, you are hooped.
    If the problem is that some fully qualified path names exceed 260 characters, then, in those cases, the solution already given is to create a psdrive partway up the path from the drive letter or server/share root of the path. Unfortunately, the output produced
    will be relative to that psdrive and not to what is specified as the $sourcefolder.
    unless you already know where those problematic paths are, you might consider trying to trap those errors and have your script figure out where it needs to create psdrives. You might then be able to calculate the equivalent path for each file or folder and
    output that. the programming effort would be simpler to just created a psdrive for each folder encountered, however I expect that would be very inefficient.
    Al Dunbar -- remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

  • How to check file is exists  in specified path in content server or not

    i m using JDevloper 11.1.1.6.0
    I want to upload file using RIDC functions,but before uploading it i have to check wheather it is already present on specified path in content server or not.
    How i check it.

    I tried to write a (simpler) version of my own code:
        public static Results CheckInToFolder(File f) {
            // create the binder
            DataBinder checkinDoc = idcClient.createBinder();
            // populate the binder with the parameters
            checkinDoc.putLocal("IdcService", "CHECKIN_UNIVERSAL");
            checkinDoc.putLocal("dDocTitle",
                                "Document checked in through RIDC at " +
                                new Date());
            checkinDoc.putLocal("dDocType", "Document");
            checkinDoc.putLocal("dDocAccount", "");
            checkinDoc.putLocal("dSecurityGroup", "Public");
            checkinDoc.putLocal("dCollectionID", "909964822906001607");
            // add a file
            // execute the request
            try {
                checkinDoc.addFile("primaryFile", f);
            } catch (IOException e) {
                myExecutable.logEvent("File" + f.getName() + " not found.");
                return null;
            ServiceResponse checkinResponse;
            try {
                checkinResponse = idcClient.sendRequest(userContext, checkinDoc);
                myExecutable.logEvent("Check-in successful. Size:" + f.length() + " bytes");
            catch (oracle.stellent.ridc.protocol.ServiceException e) {
                            myExecutable.logEvent("ServiceException");
                            e.printStackTrace();
                            return null;   
            catch (IdcClientException e) {
                myExecutable.logEvent("Check-in failed.");
                e.printStackTrace();
                return null;
            DataBinder checkinData;
            try {
                checkinData = checkinResponse.getResponseAsBinder();
                Results res =
                    new Results(checkinData.getLocal("dID"), checkinData.getLocal("dDocName"));
                myExecutable.logEvent("Successfully got response - dID is " +
                                      res.getDID() + ", dDocName is " +
                                      res.getDDocName());
                return res;
            catch (oracle.stellent.ridc.protocol.ServiceException e) {
                            myExecutable.logEvent("ServiceException2");
                            //e.printStackTrace();
                            return null;   
            catch (IdcClientException e) {
                myExecutable.logEvent("Unable to get response.");
                e.printStackTrace();
            return null;
        }What I'm getting is this:
    Mon Aug 13 14:51:29 CEST 2012 0ms: Started
    Mon Aug 13 14:51:29 CEST 2012 57ms: Connection to idc://192.168.44.129:4444 successfully established.
    Mon Aug 13 14:51:29 CEST 2012 102ms: Check-in successful. Size:702 bytes
    Mon Aug 13 14:51:29 CEST 2012 5ms: ServiceException2
    Mon Aug 13 14:51:29 CEST 2012 0ms: Finished
    This means:
    a) it does, indeed, return the exception (oracle.stellent.ridc.protocol.ServiceException)
    b) you could use this mechanism for your code
    c) it is, indeed, primaryFile.name what's being checked
    I will also take a look at the other service to perform the check prior to check-in service call.

Maybe you are looking for

  • Is there a way to change my mouse wheel's funtion so it will scroll with out

    I'm stuck in habit that's hard to get out of. I started editing in Vegas then moved to Premiere CS3. I never use the mouse wheel to scroll frames. I wish it could just zoom in and out of the timeline like it did in Vegas without me having to push alt

  • Saving a .pdf

    Why does a file saved in Acrobat as a .pdf have a Word logo?

  • How to save picture in SERVER ---- B1_SHR Folder

    Hi Experts,                   In my user form i have added a new picture box & browse button,using the browse button iam uploading the picture into my picturebox & saving the path in database,again in form load mode again my picture is getting loaded

  • Jsp jdbc connectivity problem.

    i'm getting the following error "HTTP Status 500----- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: /create_user.jsp(

  • Time Ago in Sharepoint announcement list

    Hi techies, I need to your help for implementing date in time ago format for announcement. We are using XSLT for displaying announcements. Is it possible to convert default date/time to time ago format or can we implement it in  a calculated column b