html - Make File select "/" go other way -


I think there is a problem in an HTA im. I have the choice of HTML file input;

  & lt; Input type = 'file' name = 'txtOpen' & gt; & Lt; Br> & Lt; Input type = "button" name = "button2" value = "add" />  

From this I have a VBSSPTP that pulls the value (file path) which then adds to the database. It all works properly. How, format shown in the form (x / x / filename.exe). I need a value format either (x \ x \ x \ x \ filename.ext) or is it just in file name / ext if this is possible?

Use the method to get the file name and extension, Or work to go up the slash:

  & gt; & Gt; P = "c: \ d \ e.f" & gt; & Gt; WScript.Echo goFS.GetFileName (p) & gt; & Gt; Change WScript.Echo (p, "\", "/") & gt; & Gt; E.f c: /d/e.f  

Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

c# - WPF Expander overlay used in ItemsControl -

android - how to get distance of 2 beacons and make a condtion base on that distance -