Jump to content

Problem with a string (Very simple problem)


 Share

Recommended Posts

Hello,

I can understand why this:

MsgBox(0, "", @AppDataDir & '\.minecraft\saves' & $myVar & '.ext')

Is returning C:UsersDamonAppDataRoaming.minecraftsavesC:UsersDamonAppDataRoaming.minecraftsavesvariable here.ext

$myVar = "variable here"

I want C:UsersDamonAppDataRoaming.minecraftsavesvariable here.ext

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Link to comment
Share on other sites

it does not return that, post your whole script

$myVar = "Variable Here"

MsgBox(0, "", @AppDataDir & '\.minecraft\saves\' & $myVar & '.ext')

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

what is $myVar holding?

Edited by MikahS

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Link to comment
Share on other sites

  • Moderators

Hello,

I can understand why this:

MsgBox(0, "", @AppDataDir & '\.minecraft\saves' & $myVar & '.ext')

Is returning C:UsersDamonAppDataRoaming.minecraftsavesC:UsersDamonAppDataRoaming.minecraftsavesvariable here.ext

$myVar = "variable here"

I want C:UsersDamonAppDataRoaming.minecraftsavesvariable here.ext

Isn't minecraft a game?

I believe my children play it.

Consider yourself on the naughty list  :naughty: .

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...