Getting error 8 during a file move with shortcuts

Hello,
   I am using the file move vi to move files and shortcuts from one folder to another. This works file when I am trying to move files. but when I try to move a shortcut (a file with a extension of *.lnk) the move vi fails and gets a error 8 (permission error). Why is this happening? I am assuming that a shortcut is a file, so I am treating it as a file and therefore expecting the move vi to move the shortcut from one folder to another.
Regards,
Kaspar

It could be that this is related to a bug that has already been discovered and reported. Our R&D deparment is working on it. When LabVIEW copies or moves a shortcut, it actually makes a copy of the file that is the target of the shortcut. However, it adds the ".lnk" extension to the end of the file name. This causes the new file to show up like a shortcut in Windows, but it is not a shortcut. If you rename the file and remove the ".lnk", then the file (the target of the original shortcut) will open without problem.
One workaround it to use the System Exec VI to copy the file from the Windows command line. See the attached VIs.
Jeremy P.
Applications Engineer
National Instruments
Attachments:
Move with Command Line for LNK.vi ‏16 KB
Copy with Command Line for LNK.vi ‏36 KB

Similar Messages

  • Getting error RSTSODSPART during flat file data load to datasource

    Hi SAP Gurus,
    In BI, I dont know why i am getting this error while loading data from flat file to data source using infopackage. Always i am deleting data from PSA before running it even have this error. Could u pls help me out in this issue.... Thanks....
    Error when inserting in PSA table RSTSODSPART
    Message no. RSAODS206
    Diagnosis
    An error occurred with the insert into PSA table RSTSODSPART for InfoSource .
    System Response
    Your data was not updated in the PSA table.
    It is possible that data already exists for this request  and data packet .

    Hello,
    Do you have an MS SQL Database, if yes then the patch in the note 1340371 should resolve the problem. If you have a different DB release please let me know your DB release and your BW release and support package level.
    Best Regards,
    Des

  • Getting error while uploading multiple files in sharepoint hosted app in 2013 with REST API

    Hi All,
    In one of my tasks, I was struck with one issue, that is "While uploading multiple files into custom list with REST API".
    Iam trying to upload multiple files in library with REST calls for an APP development, my issue is if i wants to upload 4 image at once its storing only
    3 image file and further giving "Conflict" error". Below is the attached screenshot of exact error.
    Error within screenshot are : status Code : 409
    status Text :conflict
    For this operation i am uploading different files as an attachment to an list item, below is the code used for uploading multiple files.
    my code is
    function PerformUpload(listName, fileName, listItem, fileData)
        var urlOfAttachment="";
       // var itemId = listItem.get_id();
        urlOfAttachment = appWebUrl + "/_api/web/lists/GetByTitle('" + listName + "')/items(" + listItem + ")/AttachmentFiles/add(FileName='" + fileName + "')"
        // use the request executor (cross domain library) to perform the upload
        var reqExecutor = new SP.RequestExecutor(appWebUrl);
        reqExecutor.executeAsync({
            url: urlOfAttachment,
            method: "POST",
            headers: {
                "Accept": "application/json; odata=verbose",
                "X-RequestDigest": digest              
            contentType: "application/json;odata=verbose",
            binaryStringRequestBody: true,
            body: fileData,
            success: function (x, y, z) {
                alert("Success!");
            error: function (x, y, z) {
                alert(z);

    Hi,
    THis is common issue if your file size exceeds 
     upload a document of size more than 1mb. worksss well for kb files.
    https://social.technet.microsoft.com/Forums/office/en-US/b888ac78-eb4e-4653-b69d-1917c84cc777/getting-error-while-uploading-multiple-files-in-sharepoint-hosted-app-in-2013-with-rest-api?forum=sharepointdevelopment
    or try the below method
    https://social.technet.microsoft.com/Forums/office/en-US/40b0cb04-1fbb-4639-96f3-a95fe3bdbd78/upload-files-using-rest-api-in-sharepoint-2013?forum=sharepointdevelopment
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Getting error while loading Flat File

    Hello All,
    I am getting error while loading flat file. Flat file is a CSV file.
    Value ',,,,,,,,' of characteristic 0DATE is not a number with 000008 spaces
    Data seprator  |
    Escape sign    ;
    It has 23708 entries , it s loading successfully till 23 665 entries
    Besides when checked in PSA
    for record having entries >23667 has calender day as ,,,,,, where as rest entries are  having date
    Besides when i checked in Flat file ,the total number of rows is 23,667 is there but i wonder why it has got 23,708 in
    RSMO
    Could you please let me know how to correct.
    regards
    path

    Hi,
    For date column you should maintain YYYYMMDD formate Eg: 20090601, kepp cursor on date column and right click and Formate >Custome>make it 00000000 then save teh file as .CSV . First type values on column and do like this formate and save it and without opening it load it. Once you open it you losw 00000000 formate you need to give again the same formate.
    Settings in Infopackage:
    Data Format  = CSV
    Data Separator = ,
    Escape Sign = ;
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/01ed2fe3811a77e10000000a422035/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a6567e07211d2acb80000e829fbfe/content.htm
    Thanks
    Reddy

  • Adobe Acrobat XI installation fails when get Error 1935 "during installation of assembly component {98CB24AD-52FB-DB5F-A01F-C8B3B9A1E18E} HRESULT: 0X8007054F

    Adobe Acrobat XI installation fails when get Error 1935 "during installation of assembly component {98CB24AD-52FB-DB5F-A01F-C8B3B9A1E18E} HRESULT: 0X8007054F

    Hey Nicholas,
    The following link might help in resolving your issue :
    http://helpx.adobe.com/creative-suite/kb/error-1935-assembly-component-microsoft.html
    Please let me know if this helps with your issue.
    Regards,
    Rahul

  • Make a audio controller file move with a pan and zoom.

    I am using a few folio overlays for a digital publication.
    I have an image that uses the pan and zoom overlay.
    I would like to add several play buttons for audio that are linked to the image so when you pan the image the audio files move with it.
    So far I can only get the audio controller file to be static and the image move under it.

    Here's a little trick for you. Before creating a scrolling frame, group the
    text frame with a small no fill/no stroke frame. Now you have group in the
    frame, you can drag additional objects in using the layers panel.

  • HT1386 I keep getting error [54] when i try syncing with i tunes, what do i do?

    I keep getting error 54 when i try syncing with itunes. what do i do?

    Maybe here:
    http://att.macrumors.com/showthread.php?t=1362080
    Also try Googling for: itunes error 54

  • Unable to combine files on acrobat 8 getting error message "no PDF file was created beacuse Acrobat encountered an unidentified error"

    unable to combine files on acrobat 8 getting error message "no PDF file was created beacuse Acrobat encountered an unidentified error" Please help

    A lot of the time the files can not be combined because of incompatible fonts, or at least font sets that could not be resolved. Maybe that will give you some direction to look at.

  • HT3775 How to open an .AVI file (movie) with my new Mac

    I'm not able to open an AVI file (movie) with my new iMac, any good advice? thanks gnogno

    Down load from the Internet VLC media player.  That should solve your problem.
    Ciao.

  • I keep getting error 586 in the console along with the following: 3/18/12 7:55:19 PM com.apple.launchd[1] (org.samba.smbd) Throttling respawn: Will start in 10 seconds  3/18/12 7:55:29 PM com.apple.launchd[1] (org.samba.smbd[1246]) Exited with exit code:

    I keep getting error 586 in the console along with the following:
    3/18/12 7:55:19 PM com.apple.launchd[1] (org.samba.smbd) Throttling respawn: Will start in 10 seconds  3/18/12 7:55:29 PM com.apple.launchd[1] (org.samba.smbd[1246]) Exited with exit code:
    The console shows thousands of these error messages and it's messed up many functions of my MacBook.
    I have VMFusion on my Mac because for work I need to use Windows.  Last night I tried installing Windows 7 but could not complete installation.  I got a message saying "can not locate driver".  Then I started getting the Error 586.
    Today I unistalled VMFusion hoping that would resolve the Error 586.  No such luck.
    Can anyone help me get rid of this constant error, plesase?

    I believe this has something to do with Mail. Are these frequently occurring errors? If so and you quit Mail do the errors cease?
    Google searching for "org.postfix.master" reveals quite a number of links that you might check for more information.

  • I am continually getting error -69 when syncing iPad Air with latest iOS and iTunes versions. Any suggestions?

    I am continually getting error -69 when syncing iPad Air with latest iOS and iTunes versions. Any suggestions?

    Try Googling "sync without iTunes".
    There are free alternatives and there are not so free alternatives.
    Btw, to check if AVG is causing the problem, you should uninstall AVG and not just "turn it off".
    Also, can you describe how you go about uninstalling a program? For example, how did you "delete" iTunes?

  • Mac OS X keep getting error message when extracting files for trail version of CS5 master suite.

    Mac OS X keep getting error message when extracting files foUsingr trail version of CS5 master suite. I deleted all Adobe files and tried again several time and keep getting the same results.

    What error message are you receiving?  What version of Mac OS do you have installed?

  • TRYING TO INSTALL adobe photoshop elements8 AND IM GETTING error opening installation log file. verify that the specified location exists and is writable

    TRYING TO INSTALL adobe photoshop elements8 AND IM GETTING error opening installation log file. verify that the specified location exists and is writable

    Error opening installation log file | Windows

  • I am trying to send a text message from my iPad when I enter phone number I get error message phone number not registered with iMessages  from contacts

    When attempting to send text message from iPad I get error message "phone number not registered with iMessage REMOVE" the number is for iPhone an includes area code and country code. How do u register a number with iMessage?.

    TestnTag wrote:
    When attempting to send text message from iPad I get error message "phone number not registered with iMessage REMOVE" the number is for iPhone an includes area code and country code. How do u register a number with iMessage?.
    The iPad is not capable of sending an SMS message so texts, pictures, etc., must go through iMessage.  The destination device must be registered with the Apple servers by turning on iMessage.  Therefore, the user with the iPhone must enable it for iMessage.

  • When I try to install the 'GOOD for enterprise" app, I am getting error 0x100001 during retireve settings step. I followed the step of reloading the OS to fix this as suggested in another thread but even after that I have the same problem. Please help.

    when I try to install the 'GOOD for enterprise" app, I am getting error 0x100001 during retireve settings step. I followed the step of reloading the OS to fix this as suggested in another thread but even after that I have the same problem. Please help.
    Regards,
    Nagarajan Kadhiresan

    if you using the same port, maybe this issue caused by your kingmax
    to make it fast, try your king max at other PC, if cant detect, please reformat your king max

Maybe you are looking for

  • Hi, experts, a question about fields in selection screen?

    Hi Experts, In my selection screen there are two fields, one is customer nr(kunnr), another is a checkbox, and I want to know is that when the customer is filled in and the checkbox is marked and then I press "enter", there should be a email address

  • In Safari some web pages are jibberish

    Hi, I am having problems with safari showing correct text. The text on certain websites shows up like jibberish. This problem just started yesterday and I'm not sure what to do. (It doesn't happen to all websites) Firefox displays the web pages norma

  • Slapd Exited with Exit code: 1 main: TLS init def ctx failed: -1 Open LDAP

    After enabling the SSL in the Server Admin panel under Open Directory / LDAP My openLDAP will not start. Any help you could give me would be greatly appreciated! Every 10 seconds the log file updates with: Jan 31 21:48:26: --- last message repeated 4

  • Can't upgrade to 10.10.2 on macbook air ??

    10.10.2 downloads, seems to install, but does not do anything. I am still on 10.10.1. The Appstore shows 3 previous downloads of 10.10.2 in the last few days saying it was installed, but it also asks me to update to 10.10.2 !!! Looks like an endless

  • Clear text if validation fails

    I have a date field for which i have set a particular pattern("DD/MM/YYYY"). I want to clear off  the entered value if user types in the value in wrong format. let me know how to achive this. thanks