Ortho4XP | A scenery generator for the X-Plane flight simulator
kandi X-RAY | Ortho4XP Summary
kandi X-RAY | Ortho4XP Summary
Ortho4XP is a scenery generator for the X-Plane flight simulator, written by Oscar Pilote. It is a really amazing tool and just like many others, I got addicted to it :). This repository contains my own modifications to his tool, which I hope will one day be included in the official one. It may or may not work for you, as this is all a work in progress for now.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Ortho4XP
Ortho4XP Key Features
Ortho4XP Examples and Code Snippets
Community Discussions
Trending Discussions on Ortho4XP
QUESTION
I've looked around a little bit and have tried different things but haven't had any luck. I'm not very good with batch when it comes to "for loops" but I think this is exactly what I need to accomplish my goal.
Ok, so I have 35 symbolic links to create. The thing is, there will be more of these that I will have to create starting very soon, and they will usually be in the dozens, so a script is the way to go here for sure.
My goal:
I have a folder: F:\Browser Downloads\Ortho4XP\Tiles\Cuba\
This folder includes 35 sub-folders (I need all the contents of those folders in the symbolic link)
Example sub-folders:
ANSWER
Answered 2018-Aug-19 at 04:31@echo off
setlocal
set "target=F:\Browser Downloads\Ortho4XP\Tiles\Cuba"
set "destination=E:\X Plane 11\X-Plane 11\Custom Scenery\Ortho\Cuba"
for /d %%A in ("%target%\*") do mklink /d "%destination%\%%~nxA" "%%~A"
QUESTION
For each folder in this directory:
...ANSWER
Answered 2018-Aug-24 at 07:20@echo off
setlocal
set "target=F:\!Storage\!FS Addons\!X-Plane\!Tools\!Ortho4XP\Tiles"
set "destination=E:\X Plane 11\X-Plane 11\Custom Scenery\scenery_packs.ini"
(
for /d %%A in ("%target%\*") do @(
>nul findstr /c:"SCENERY_PACK Custom Scenery/%%~nxA/" "%destination%" ^
|| echo SCENERY_PACK Custom Scenery/%%~nxA/
)
) >> "%destination%"
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Ortho4XP
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page