Results 1 to 3 of 3

Thread: How can i drag and drop another file on top of the VBScript file

  1. #1
    Join Date
    Dec 2008
    Posts
    74

    How can i drag and drop another file on top of the VBScript file

    I'm running Windoes Vista as my operating system. I would like to know that how can i drag and drop another file on top of the VBScript file? Can any body telll me the exact way of doing it? Does any body knows about it? Kindly provide me the correct logical solution for the above issue. Any kind of help on the above issue would be appreciated.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,949

    Re: How can i drag and drop another file on top of the VBScript file

    The CodeLobster is a handy and easy-in-use editor which supports such file formats as TXT, CPP, JAVA, JSP, PHP, PL, ASP, HTML, CSS, XML, XSL, JS, VBS, SQL, AS, Python, Ruby. Also this general purpose application allows user to convert HTML
    files into JSP, PHP, PL, ASP ones and vice versa - JSP, PHP, PL, ASP files into HTML ones.

    Program builders provided the editor with an extra feature: now creating a *.html, *.java,*.php, *.pl, *.asp,*.xml, *.xsl file one can see the outcome at once by means of the "Preview" command. Four built-in ad hoc toolbars comprise over 60 helpful tools, commands and menu which make usage of CodeLobster yet more comfortable.

  3. #3
    Join Date
    May 2008
    Posts
    2,015

    Re: How can i drag and drop another file on top of the VBScript file

    Follow the below steps mention.

    1) First Right-click/New Shortcut on your desktop.
    2) Then enter the target like so: powershell.exe "&{c:\bin\testit.ps1 $args}"
    3) Then change testit.ps1 to be your target script that you want to run on your system.
    4) Then the file name is passed as parms to the command, which is passed as first parm to the script.
    5) When you drag another script onto this icon, it should pass the file name
    to the script and you can then do what you want with that file name.

Similar Threads

  1. How to run a .bat file with VBScript ?
    By troy in forum Software Development
    Replies: 8
    Last Post: 29-06-2012, 10:55 AM
  2. Replies: 4
    Last Post: 21-03-2012, 05:01 AM
  3. How to fix slow file drag in Mac OS X Lion
    By Mia! in forum Operating Systems
    Replies: 10
    Last Post: 03-11-2011, 10:44 PM
  4. Vbscript to find latest file
    By BoanHed in forum Software Development
    Replies: 3
    Last Post: 23-11-2009, 07:38 AM
  5. What happens when you drag and drop a file on top of a vbscript
    By Dharmavira in forum Software Development
    Replies: 2
    Last Post: 01-06-2009, 10:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •