Build a tool for controlling a copy file operation base on its file size in any folder of Window Explorer

Hi all,
We are developing a tool which will control a copy file operation in any folder of Window Explorer base on file size limit.
If these copied files are not satisfied the file size condition (its size is larger than a predefined value), the copy/move operation must not be executed.
My question is that: "Are there any availability support of Windows API/tool for implementing this feature?"
BR,
Mr_Le

Hi Mr_Le,
Thank you for posting in the MSDN forum.
Based on your description, I’m afraid that it is not the correct forum for this issue, since this forum is to discuss:
Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
To help you find the correct development forum for this issue, please tell me the real project type (Winforms or others) and the real development language (C#, VB or others) you want to use.
If you are not very sure that which kind of project fulfils this requirement, maybe the language development forum would be better for this issue:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=vslanguages&filter=alltypes&sort=lastpostdesc
If there's any concern, please feel free to let me know.
Best Regards,
Jack
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.

Similar Messages

  • New excel file cannot be opened with right click in any folder.

    Usually I create a new file (.xlsx) by right click inside any folder of windows 7 . Recently I am observing that it is not being possible to create a new file (.xlsx) by right click when I am inside a folder. Whenever I right click in order to create a
    new file no excel file icon or word file icon is found visible there though at that time other applications like access, power point and publisher file icons are visible. Only excel and word file icons are invisible. I don't know what the cause may be. I think
    I have turned off some option by mistake. Is there any solution to this problem? How can I have the opportunity again?

    Hi Nurulamin,
    Thanks for your post, however, since this isnot an exchange issue, I recommend you post this in Windows Client Forum
    also, as they should have more professional knowledge and you may get effective solution timely.
    Thanks for your understanding!
    Best regards,
    Niko Cheng
    TechNet Community Support

  • OneDrive stopped returning files with a "+" in its file name.

    Hi,
    My app creates a folder in OneDrive in the name of the app and saves a data file with the same name in it.  My app name contains a "+" in the name.  For example "Menu+ Inventory.dat"
    All was working well for last couple of years and suddenly OneDrive is not returning files with a "+" in its name for the last few days.  Many of my app users will loose data if the file couldn't be retrieved from OneDrive.
    // Runs a search query on SkyDrive to find a matching file.
    function searchForFile(path) {
    var whenFolderFound = _searchForFolder();
    var skyDriveSearchPath = "/me/skydrive/search?q=" + path;
    // Runs async search for the user-specified file.
    var whenFilesFound = WL.api({
    path: skyDriveSearchPath,
    method: "GET"
    }).then(function (response) {
    if (response != null) {
    return WinJS.Promise.wrap(response);
    } else {
    inMemoryFile = null;
    return WinJS.Promise.wrap(false);
    In the SkyDrive Roaming Data sample, in the above function, if the skyDriveSearchPath has the above mentioned filename, the response doesn't have the file.  The sample app will create the file, save data with that name, but does not read the file. It
    can read other files with no "+" in the file name.
    Is there a change in OneDrive naming specs recently? 

    Sorted. Well sort of. I still have the problem but I know why. Apparently O2 will not allow anyone to send an attachment which has a space in the name. They claim that this reduces spam - no idea why they think that will stop spam but there you go...

  • SQL Loader tool for control file creation

    We are planning to use SQL*Loader to move a lot of data from mainframe to Oracle 10g database. We will write the data in flat files and use SQL*Loader to load these files into tha database. There are more than 100 tables with lot of columns in each. So, I was just wondering if there is any tool available (visual mappings etc.) that can help create the control files for the SQL*Loader, so that I don't have to manually type all the lengthy control files
    Thanks for any help,
    Sam

    sql*loader is capable to generate the controlfile for external tables which are pretty much the same
    Something like
    sqlldr scott/tiger ulcase1 EXTERNAL_TABLE=GENERATE_ONLYhttp://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch08.htm#1006964

  • Error occurred while processing SAP SQL Tools for SQLServer (Database Copy)

    Hello,
    We are currently running ERP 6 EP4 support stacks 6. Two weeks ago we
    refreshed our sandbox from QAS system and installed support stack 9 for
    testing. Kernel was also upgraded from sp69 to sp137 as a part of the
    support pack installation.
    This week, I was asked to do another refresh of sandbox from the QAS system. As the
    kernel was upgraded before to sp139, I copied back the previous kernel
    file sp69 to the kernel folder and started refresh process as usual.
    When I was running SAP for SQL, it ran successfully thorugh all the
    steps but failed in the final steps with the following error logs:
    =======================================================================
    An error occurred while processing option SAP Toools for MS SQL Server
    > Database Copy Completion( Last error reported by the step: System
    call failed. Error 2 (The system cannot find the file specified. ) in
    execution of system call 'CreateProcessAsUser' with parameter ( ,
    NULL, Program Files/sapinst_instdir/MSS/CPY, &StartupInfo,
    &ProcessInfo), line (631) in file (synxcchapp.cpp), stack trace:
    iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()
    d:\depot\bas\710_rel\bc_710-3_rel\gen\optu\ntamd64
    \ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450:
    EJS_Base::dispatchFunctionCall() iaxxejsexp.cpp: 178:
    EJS_Installer::invokeModuleCall() synxcchapp.cpp: 228:
    CSyChildApplicationImpl::start(false) synxcchapp.cpp: 252:
    CSyChildApplicationImpl::doStart() .). You can now:
    Choose Retry to repeat the current step.
    Choose View Log to get more information about the error.
    Stop the option and continue with it later.
    Log files are written to C:\Program Files/sapinst_instdir/MSS/CPY.

    I looked at the logs, very similar error to the one that I already posted:
    ERROR      2011-07-08 09:29:49.861
               CJSlibModule::writeError_impl()
    MUT-03025  Caught ESyException in Modulecall: At line 631 file synxcchapp.cpp
    Call stack:
    iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()
    d:\depot\bas\710_rel\bc_710-3_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()
    iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()
    synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)
    synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()
    System call failed. Error 2 (The system cannot find the file specified.
    ) in execution of system call 'CreateProcessAsUser' with parameter (<token>, NULL, <command line for executable saplicense.exe, NULL, NULL, TRUE, 0x420, NULL, C:/Program Files/sapinst_instdir/MSS/CPY, &StartupInfo, &ProcessInfo), line (631) in file (synxcchapp.cpp), stack trace: iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()
    d:\depot\bas\710_rel\bc_710-3_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()
    iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()
    synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)
    synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()
    TRACE      2011-07-08 09:29:49.861 [iaxxejsbas.hpp:488]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2011-07-08 09:29:49.875 [sixxcstepexecute.cpp:971]
    FCO-00011  The step doLI with step key |SAPMSSTOOLS|ind|ind|ind|ind|0|0|MssSysLI|ind|ind|ind|ind|7|0|doLI was executed with status ERROR ( Last error reported by the step: System call failed. Error 2 (The system cannot find the file specified.
    ) in execution of system call 'CreateProcessAsUser' with parameter (<token>, NULL, <command line for executable saplicense.exe, NULL, NULL, TRUE, 0x420, NULL, C:/Program Files/sapinst_instdir/MSS/CPY, &StartupInfo, &ProcessInfo), line (631) in file (synxcchapp.cpp), stack trace: iaxxejsctl.cpp: 272: EJS_ControllerImpl::executeScript()
    d:\depot\bas\710_rel\bc_710-3_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\iaxxejsbas.hpp: 450: EJS_Base::dispatchFunctionCall()
    iaxxejsexp.cpp: 178: EJS_Installer::invokeModuleCall()
    synxcchapp.cpp: 228: CSyChildApplicationImpl::start(false)
    synxcchapp.cpp: 252: CSyChildApplicationImpl::doStart()
    TRACE      2011-07-08 09:29:49.886
      Call block:CallBackInCaseOfAnErrorDuringStepExecution
        function:CallTheLogInquirer
    is validator: true

  • Was it GoLive or Dreamweaver...tool for laying out site that then creates the html files?

    I can't remember if it was Dreamweaver or Golive...
    I remember a tool that allowed me to layout a web
    site...graphically....I could create a index.html file...then
    about.html, contact.html, services.html....link the structure of
    the files together....such as all files are subordinate to
    index.html...then push OK somewhere and all the files would be
    created. Also you could print out the layout/structure of the
    website.
    Is there such a capability in CS3 DW? I am using Leopard on a
    MAC.
    Thanks, --bill

    > Is there such a capability in CS3 DW?
    No.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "bdaul" <[email protected]> wrote in message
    news:fgce2u$p2s$[email protected]..
    >I can't remember if it was Dreamweaver or Golive...
    >
    > I remember a tool that allowed me to layout a web
    site...graphically....I
    > could create a index.html file...then about.html,
    contact.html,
    > services.html....link the structure of the files
    together....such as all
    > files
    > are subordinate to index.html...then push OK somewhere
    and all the files
    > would
    > be created. Also you could print out the
    layout/structure of the website.
    >
    > Is there such a capability in CS3 DW? I am using Leopard
    on a MAC.
    >
    > Thanks, --bill
    >

  • Create book file on basis of txt file with local paths?

    I would like to be able to create a book file in FrameMaker 7 or FrameMaker 9 on the basis of a  .txt file reading for instance:
    c:/documents/job.fm
    c:/documents/15ss.fm
    c:/documents/sdf/job1.fm
    Preferrably I would like to be able to paste the lines into a prompt and have a script compiling the book file.
    Is it possible to write a script using FrameMakers API which would do this trick? It is probably possible to use FrameScript but I am not too keen on FrameScript and would rather avoid it.
    Who should one ask in order to have such a thing written?
    regards
    Bjørn

    StudioSm wrote:
    I would like to be able to create a book file in FrameMaker 7 or FrameMaker 9 on the basis of a  .txt file reading for instance:
    c:/documents/job.fm
    c:/documents/15ss.fm
    c:/documents/sdf/job1.fm
    Preferrably I would like to be able to paste the lines into a prompt and have a script compiling the book file.
    Is it possible to write a script using FrameMakers API which would do this trick? It is probably possible to use FrameScript but I am not too keen on FrameScript and would rather avoid it.
    Who should one ask in order to have such a thing written?
    regards
    Bjørn
    I started using FrameMaker in release 2.x, while I was using x-roff on UNIX; x-roff used a "makefile" to create books from independent chapters, doing all the pagination, numbering, etc. I suspected that FrameMaker's book file worked like that, but it wasn't until many years later that I met someone who'd worked with FrameMaker version 1.x, who confirmed my suspicion.
    Although I can't tell you how to do it, I'm certain that it can be programmed as you want, and that someone will post more information.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • I just tried to install a the new update for my iPad and it started but now its stuck with the apple in the window and it won't finish the update

    My iPad is stuck with the apple and the updating line but it is not finishing the update and the iPad is stuck I can't shut it off nothing is working just the bright white apple in the window.

    Hi rm44,
    Try resetting your device (nothing will be lost): Hold down the Home and Power buttons at the same time and continue to hold them down until the Apple appears (up to 30 seconds). Once the reset is complete, the Home or Lock screen will display. Once the device is back up, go to Settings>General>About, and see what version is displaying. If it has the iOS number you were updating to, then you are all set.
    If it has the old iOS version number, then the update did not take place. The best thing to do in that situation is to hook the device up to iTunes on the computer you sync with, and to update via iTunes.
    Cheers,
    GB

  • For emails and I cannot now access my contacts thro Firefox but I can through Windows Explorer which I dont want to do.)

    when I go into Xtra yahoo to send an email I cannot access my contacts. I could but now I cant. Telecom NZ cant fix it they said its a Mozilla problem

    Try running Firefox in [[Safe Mode]]. If it functions properly in that configuration, then one of your add-ons is the culprit.
    Incidentally, does the background (the purple color) look the same as the one in the screenshot when you access your Yahoo account? Yahoo has recently upgraded their mail program and it would appear that this is now the default color. If yours is a different color and you haven't modified it yourself, then the problem may possibly be related to the old version.

  • LOOOOOONG pauses in Windows Explorer with file copy, rename, new folder, etc.

    I am using Windows 7 64-bit pro and I am experiencing horribly long pauses in Windows Explorer on very simple file operations, such as renaming a file, copying a file, creating a new folder, etc. Here is an example:
    1. Open a folder in windows explorer, e.g. My Documents
    2. Select a file
    3. Hit F2 and enter a new name for the file, then hit ENTER to save the name
    4. Windows Explorer now shows the wait cursor and becomes completely unresponsive, sometimes for MINUTES.
    This is crazy. I read somewhere it may be due to shell extensions -- another post specifically called out MagicDisc, but I uninstalled that and still have the problem. After a fresh reboot the problem usually is not there immediately, but always comes back eventually.
    Anyone have any ideas?

    Hi Lex3001,
    I would like to confirm what are the results in Safe Mode and Clean Boot?
    I also would like to suggest you run ShellExView again and disable some shell extensions to check the issue.
    Run ShellExView
    =================
    1. Launch ShellExView again and scan the computer.
    2. Press "Ctrl" on the keyboard and click all items which are marked in pink in the list.
    3. Choose "File" then "Disable Selected Items".
    4. Quit and restart the computer to check the Windows Explorer issue again.
    Does it work?
    In addition, I also would like to suggest you create a new user account to check the result
    Regards,
    Arthur Li - MSFT

  • ALD API and ALD (Advanced Layout Designer) as a reporting tool for AddOns

    Dear all,
    as per SMP "ISVs and VARs can integrate combit's List & Label functionality into any SAP Business One Add-on without additional combit license fees", so am i right it means that LnL (ALD) has an API which allows to manipulate it right from SBO AddOn?
    and yes, according to the combit site (e.g., http://www.combit.net/en/page1077.aspx?action=display&articleid=KBTE000662) this really has API.
    so the questions are:
    1. does anybody has any expierence with ALD as a reporting tool for the SBO AddOns (ALD API expierence)?
    2. does anybody has any samples (how to call ALD API from AddOn)?
    3. are there any elearning materials at the SMP regarding ALD API usage from the AddOns?
    4. is ALD API available for the SAP 2005 SP01 as well as SAP 2007 versions?
    please comment on this with your point of views and some attitude
    thank you and kind regards,
    A.

    Hi Alexey,
    I've got ALD running at sites (2005A SP1).
    1) ALD is certainly more powerful than PLD in terms of presentation and formulas. The only limitation I came across was that you can only have 1 data table in a report (unlike other report writers like Crystal or Reporting Services). Also, working with special lines and serial/batch data in marketing documents is overly complex in my opinion.
    2) There were some samples attached to SAP Notes. I'm afraid my samples would be useless because you'd have to have the same UDFs and my reports are quite site specific.
    3) I've never seen ALD learning material from SAP but there was a decent enough manual that came with the addon.
    4) Not sure. I think you'll need to ask Combit directly.
    Pros:
    a) I particularly like the sound of the API although I haven't had a chance to look at it yet
    b) Some nice built in features like labels and the ability to create layouts for user queries (...PLD is capable of doing this, just not very well )
    c) Software is part of 2007A (ie no additional license fee)
    d) Integrated with SBO
    Cons:
    a) The integration is not perfect (eg if you use the SBO Mailer then report attachments still use the PLD layout and not ALD).
    b) A bit buggy at times (although this was on an early 2005A version)
    c) Formulas use a C++ type syntax which can be confusing for those not used to it though there is a formula builder to help out.
    d) No reports built in. SAP/Combit should be considering having all marketing documents and maybe some other key reports built in as standard.
    All things considered, ALD is worth looking at if PLD is not up to the job.
    Hope that helps,
    Owen

  • Error from building medrec example for weblogic 10

    Hi,
    I tried to re-build medrec example for weblogic 10 and got error below. What was wrong?
    Any information would be appreciated. Thanks in advance.
    D:\bea\wlserver_10.0\samples\server\medrec\src>ant
    Buildfile: build.xml
    init:
    [echo] #### S T A R T M E D R E C ####
    [echo] Started on December 10 2007 at 0856
    build:
    banner:
    [echo] --------------------------------------------
    [echo] + Building StartBrowser Ear +
    [echo] --------------------------------------------
    build:
    BUILD FAILED
    D:\bea\wlserver_10.0\samples\server\medrec\src\build.xml:26: The following error occurred while exec
    uting this line:
    D:\bea\wlserver_10.0\samples\server\medrec\src\startBrowserEar\build.xml:50: Problem: failed to crea
    te task or type wlcompile
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.

    open a new command window , run setDomainEnv.cmd and in the same window run ant task.

  • VIs for control of Syminex SX500 or Mhors MSX500

    Hi !
    I'am searching for VIs for controling signal conditioning modules Syminex
    SX500 or Mhors MSX500. Have any you outhere written VIs for direct
    controlling these units thru the serial port ?
    My problem is that there are no software at all avalible for control these
    units under win2000 => degrading the operating system to win 95
    Regards
    Anders Björk
    Dept. Analytical Chemistry
    Royal Institue Of Technology
    Stockholm
    Sweden

    Maybe it's just me (though probably not), but I'm having a really hard time following. How about instead of the clever banter and the assumption that we understand you, you simply describe exactly what you're seeing and what you're actually expecting to see, ideally with some code attached so that people don't have to guess.
    I have several potential theories off the top of my head, but can't apply either one without actual understanding:
    There was some change made to the picture control VIs. The only reason I know that is that when I back saved a VI which called them to an earlier version, LV said something specifically about that. I think it was between LV 7.1 and 8.0. I have no idea what the actual changes are. I certainly haven't seen a change in the API between 7.0 and 8.x and I know it fairly well.
    LV 8.0 introduced panes which changed the way LV treats the position of controls on the front panel. I would expect that a program imported from an earlier version would work correctly (at least that has been my experience), but maybe you're doing something which broke it. Or your utility VIs needs to be adapted to work with this. I would say that's the most likely scenario.
    You're using .NET (the "constructor" comment ) and something changed in the way LV talks to it.
    As for the "2D picture", I haven't checked but I'm assuming that this is simply the picture control you're used to (makes sense, since you say you didn't change the code). If that's the case, the reason for the different name would be that after 7.1 LV had a 3D picture control added and NI probably renamed the picture control to 2D picture control to make the difference clear.
    Try to take over the world!

  • Photoshop cs6 could not save as .psd because the file is locked, you do not have necessary access permissions, or another program is using the file. Use the 'Properties' command in the Windows Explorer to unlock the file

    Have three users with CS6 Design Standard having problem saving files to a network share. All three are running Windows 7 SP1. CS 6 has all current updates applied. Have searched google for solution but all suggestions so far have not solved problem.
    Have confirmed that windows explorer preview pane is not enabled/turned off. Other users on the network have no problems saving file to shared folder. Users can save to desktop and then copy and paste or drag and drop to the share!

    Further Google searching found this bit of information....and it fixed our problem!
    Rather than deleting the files I renamed them as follows Adobe Photoshop CS6 Prefs_old & Adobe Photoshop X64 CS6 Prefs_old
    To fix and prevent this error from happening, the user will navigate to:
    C:\Users\[USERNAME]\AppData\Roaming\Adobe\Adobe Photoshop CS6\Adobe Photoshop CS6 Settings
    Depending on what version of photoshop is causing the error to appear you will delete the following file:
    Adobe Photoshop CS6 Prefs.psp (for 32bit version)
    Adobe Photoshop X64 CS6 Prefs.psp (for 64bit version)

  • File not opening in original custom size

    How do i configure illustrator to display a file to open at its custom size that it was originally created in.
    I have a document that was originally create 450 mm x 600 when it opens it is oversize of the viewing default

    Adjust your artboard size using the artboard tool.
    Mylenium

Maybe you are looking for

  • Send mail, returns no info, ActionSript or PHP issue?

    I set up a site with a page following Lee Brimelow's "Sending Mail with PHP" tutorial. All is set up and done, and functions with one exception, the delivered email does not contain any of the inputted information in the form. e.g. - I get the "Subje

  • Message Splitting with BPM

    Someone knows about an example on splitting a message into several messages (multiline element), the target message type is of one type.

  • Can I use the desktop site as the tablet site?

    I've added the tablet site with the atributes of the desktop site but it doesn't copy the content. Is there a way to do this without recreating the content seperatly?

  • Clicking on any row in a record set

    How can I click any where in a row and retrieve that records data in a report. I know how to highlight a row. Any help would be appreciated. Thanks Aron

  • Classification in SAP Work Flow Substitution

    Hi, Can someone provide details on how to make the classification for Work flow substitution. I need to assign different work items to different susbtitutes. I read in a thread that substitute profile needs to created in SPRO. Can someone eloborate t