Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Function to conver single slash to double (https://www.kinook.com/Forum/showthread.php?t=2818)

Too_Tall_Crown_Victoria 07-20-2007 01:44 PM

Function to conver single slash to double
 
I hope this is easy for someone out there. I need a function to take a single slash path and convert it to double slash. For example:

C:\Program Files\MyApp\data

needs to be converted to:

C:\\Program Files\\MyApp\\data

I have tried using VBScript but have been unsucessfull.

Thanks

Tom

kinook 07-20-2007 01:48 PM

VBScript:

[Replace("C:\Program Files\MyApp\data", "\", "\\")]

Too_Tall_Crown_Victoria 07-20-2007 03:38 PM

Thanks, that was it.

Tom


All times are GMT -5. The time now is 08:47 AM.


Copyright © 1999-2023 Kinook Software, Inc.