Skip to content

Question WLAN import... #192

Open
Open

Description

@timi35

I have about 50 XML files from an WLAN export.

How can I import all XML files to the network manager in a simple way?

Thanks!

Best regards
Tim

Activity

  1. homes32 commented on Apr 4, 2026

    @homes32
    Contributor

    use a batch file with a loop

    you can either write your own script to copy the folder with your .xml files to %TargetDir% and use AddAutoRun,AfterNetwork to call your script, or include your folder in Components > Additional Files and add the AddAutoRun command to the TweakBox script in the code box.

    If your comfortable with the PENetwork Config Editor you can even skip the AddAutorun bit and just call your script using the CMD's after startup tab in PENetwork Config Editor.

    Example:

    cmd

    @Echo Off
    for %f in (*.xml) do netsh wlan add profile filename="%f" user=all
    

    or powershell:

    $profiles = Get-ChildItem "X:\WiFiProfiles\*.xml"
    foreach ($file in $profiles) {
        netsh wlan add profile filename=$file.FullName user=all
    }
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions